From a2c06104447c49c0f1cb835ceb4aec78401dba18 Mon Sep 17 00:00:00 2001 From: Lars Noack Date: Tue, 15 Nov 2022 11:00:32 +0100 Subject: [PATCH] updated build skript --- build.sh | 10 +++++++-- src/music_kraken.egg-info/PKG-INFO | 35 +++++++++++++++++++++++++++--- 2 files changed, 40 insertions(+), 5 deletions(-) diff --git a/build.sh b/build.sh index a587e80..a651065 100644 --- a/build.sh +++ b/build.sh @@ -1,14 +1,20 @@ +echo "pushing............" +git add . +git commit -am "new build and upload" +git push + +echo "compiling............" mkdir -p dist/build_files mkdir -p dist/compiled pyinstaller --onefile src/music_kraken_cli.py --specpath dist/build_files --workpath dist/build_files --distpath dist/compiled # https://packaging.python.org/en/latest/tutorials/packaging-projects/ -echo "building......" +echo "building............" python3 -m pip install --upgrade build python3 -m build -echo "uploading......." +echo "uploading............" python3 -m pip install --upgrade twine twine upload dist/music_kraken* # twine upload --repository testpypi dist/* diff --git a/src/music_kraken.egg-info/PKG-INFO b/src/music_kraken.egg-info/PKG-INFO index cb9efc9..3adc3b3 100644 --- a/src/music_kraken.egg-info/PKG-INFO +++ b/src/music_kraken.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: music-kraken -Version: 0.0.7 +Version: 0.0.8 Summary: An extensive music downloader crawling the internet. It gets its metadata from a couple metadata provider, and it scrapes the audiofiles. Home-page: https://github.com/HeIIow2/music-downloader Author: Hellow2 @@ -14,9 +14,38 @@ License-File: LICENSE # Music Kraken -RUN WITH: `python3 -m src` from the project Directory +## Installation -This programm will first get the metadata of various songs from metadata provider like musicbrainz, and then search for download links on pages like bandcamp. Then it will download the song and edit the metadata according. +You can find this project on PyPI [https://pypi.org/project/music-kraken/](https://pypi.org/project/music-kraken/) or GitHub [https://github.com/HeIIow2/music-downloader](https://github.com/HeIIow2/music-downloader). If you enjoy this project, feel free to star it. + +```sh +# install it with +pip install music-kraken + +# and run it with (the -m is important) +python3 -m music_kraken +``` + +## Quick-Guide + +**Genre:** First the cli asks you to input a gere you want to download to. The options it gives you (if it gives you any) are all the folders you got in the music directory. You also can just input a new one. + +**What to download:** After that it prompts you for a search. Here are a couple examples how you can search: + +``` +> #a Psychonaut 4 +searches for the artist "Psychonaut 4" + +> #a Crystal F #r das Leben dannach +searches for the release (album) "das Leben dannach" by the artist "Crystal F" + +> #r Death Pierce Me #t sterile nails and thunderbowels +searches for the track "sterile nails and thunderbowels" from the release "Death Pierce Me" +``` + +After searching with this syntax it prompts you with multiple results. You can either choose one of those by inputing its id `int` or you can search for a new query. + +After you chose either an artist, a release group, a release or a track by its id, download it by inputing the string `ok`. My downloader will download it automatically for you. ## Metadata