mirror of
				https://github.com/KevinMidboe/spotify-downloader.git
				synced 2025-10-29 18:00:15 +00:00 
			
		
		
		
	Merge branch 'master' into master
This commit is contained in:
		| @@ -6,9 +6,7 @@ | ||||
| [](https://gitter.im/spotify-downloader/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||||
|  | ||||
| - Downloads songs from YouTube in an MP3 format by using Spotify's HTTP link. | ||||
|  | ||||
| - Can also download a song by entering its artist and song name (in case if you don't have the Spotify's HTTP link for some song). | ||||
|  | ||||
| - Automatically applies metadata to the downloaded song which include: | ||||
|  | ||||
|   - Title | ||||
| @@ -31,7 +29,7 @@ That's how your music library will look like! | ||||
|  | ||||
| ## Installation | ||||
|  | ||||
| **This tool works with only Python 3**. | ||||
| **This tool works only with Python 3.** | ||||
|  | ||||
| Python 2 compatibility was dropped because of the way it deals with unicode (2020 is coming soon too). | ||||
| If you still need to use Python 2 - check out the (outdated) | ||||
| @@ -70,6 +68,9 @@ contains detailed information about different available ways to download tracks. | ||||
|  | ||||
| ## FAQ | ||||
|  | ||||
| - [ | ||||
| How to specify a custom folder where tracks should be downloaded?](https://github.com/ritiek/spotify-downloader/wiki/FAQ#how-to-specify-a-custom-folder-where-tracks-should-be-downloaded) | ||||
|  | ||||
| Check out our [FAQ wiki page](https://github.com/ritiek/spotify-downloader/wiki/FAQ) | ||||
| for more info. | ||||
|  | ||||
|   | ||||
| @@ -69,24 +69,7 @@ def override_config(config_file, parser, raw_args=None): | ||||
|     """ Override default dict with config dict passed as comamnd line argument. """ | ||||
|     config_file = os.path.realpath(config_file) | ||||
|     config = merge(default_conf['spotify-downloader'], get_config(config_file)) | ||||
|  | ||||
|     parser.set_defaults(manual=config['manual']) | ||||
|     parser.set_defaults(no_metadata=config['no-metadata']) | ||||
|     parser.set_defaults(avconv=config['avconv']) | ||||
|     parser.set_defaults(folder=os.path.relpath(config['folder'], os.getcwd())) | ||||
|     parser.set_defaults(overwrite=config['overwrite']) | ||||
|     parser.set_defaults(input_ext=config['input-ext']) | ||||
|     parser.set_defaults(output_ext=config['output-ext']) | ||||
|     parser.set_defaults(trim_silence=config['trim-silence']) | ||||
|     parser.set_defaults(download_only_metadata=config['download-only-metadata']) | ||||
|     parser.set_defaults(dry_run=config['dry-run']) | ||||
|     parser.set_defaults(music_videos_only=config['music-videos-only']) | ||||
|     parser.set_defaults(no_spaces=config['no-spaces']) | ||||
|     parser.set_defaults(file_format=config['file-format']) | ||||
|     parser.set_defaults(search_format=config['search-format']) | ||||
|     parser.set_defaults(youtube_api_key=config['youtube-api-key']) | ||||
|     parser.set_defaults(log_level=config['log-level']) | ||||
|  | ||||
|     parser.set_defaults(**config) | ||||
|     return parser.parse_args(raw_args) | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user