mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 18:00:15 +00:00
Doesn't search song on Spotify if "--no-metadata" passed (#404)
* Doesn't search song on Spotify if '--no-metadata' passed * Doesn't search song on Spotify if '--no-metadata' passed * Doesn't war user that 'no metadata found' if '--no-metadata' passed
This commit is contained in:
committed by
Ritiek Malhotra
parent
f65034f17e
commit
94f0b3e95d
@@ -155,7 +155,8 @@ def download_single(raw_song, number=None):
|
||||
if not refined_songname == " - ":
|
||||
songname = refined_songname
|
||||
else:
|
||||
log.warning("Could not find metadata")
|
||||
if not const.args.no_metadata:
|
||||
log.warning("Could not find metadata")
|
||||
songname = internals.sanitize_title(songname)
|
||||
|
||||
if const.args.dry_run:
|
||||
|
||||
Reference in New Issue
Block a user