Added handling for when there simply is no video

Just return None if no video could be found. Makes it skip instead of error out.
This commit is contained in:
I-Al-Istannen
2017-07-24 23:01:05 +02:00
committed by GitHub
parent 6401eca454
commit dbaa890976

View File

@@ -81,6 +81,9 @@ def generate_youtube_url(raw_song):
if meta_tags is None:
break
if not videos:
return None
if args.manual:
print(song)
print('')