mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-12-08 20:39:08 +00:00
Add description of the new -f option in README.md; Fix minor issues
This commit is contained in:
@@ -88,6 +88,9 @@ optional arguments:
|
|||||||
-m, --manual choose the song to download manually (default: False)
|
-m, --manual choose the song to download manually (default: False)
|
||||||
-a, --avconv Use avconv for conversion. If not set
|
-a, --avconv Use avconv for conversion. If not set
|
||||||
defaults to FFmpeg (default: False)
|
defaults to FFmpeg (default: False)
|
||||||
|
-f FOLDER, --folder FOLDER
|
||||||
|
path to folder where files will be stored in (default:
|
||||||
|
Music/)
|
||||||
-v, --verbose show debug output (default: False)
|
-v, --verbose show debug output (default: False)
|
||||||
-i INPUT_EXT, --input_ext INPUT_EXT
|
-i INPUT_EXT, --input_ext INPUT_EXT
|
||||||
prefered input format .m4a or .webm (Opus) (default:
|
prefered input format .m4a or .webm (Opus) (default:
|
||||||
@@ -153,6 +156,10 @@ http://open.spotify.com/track/64yrDBpcdwEdNY9loyEGbX
|
|||||||
|
|
||||||
- Then you can simply run `python spotdl.py --list=<playlist_name>.txt` to download them all!
|
- Then you can simply run `python spotdl.py --list=<playlist_name>.txt` to download them all!
|
||||||
|
|
||||||
|
#### Specify the target directory
|
||||||
|
|
||||||
|
If you don't want to download all the songs to the `Music/` folder relative to the `spotdl.py` script, you can use the `-f`/`--file` option. E.g. `python spotdl.py -s "adele hello" -f "/home/user/Music/"`. This works with both relative and absolute paths.
|
||||||
|
|
||||||
## Running tests
|
## Running tests
|
||||||
|
|
||||||
`python -m pytest test`
|
`python -m pytest test`
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ def get_arguments():
|
|||||||
action='store_true')
|
action='store_true')
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'-f', '--folder', default='Music/',
|
'-f', '--folder', default='Music/',
|
||||||
help='path to folder where files will stored in')
|
help='path to folder where files will be stored in')
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'-v', '--verbose', default=False, help='show debug output',
|
'-v', '--verbose', default=False, help='show debug output',
|
||||||
action='store_true')
|
action='store_true')
|
||||||
|
|||||||
Reference in New Issue
Block a user