mirror of
https://github.com/THIS-IS-NOT-A-BACKUP/zspotify.git
synced 2024-11-26 09:53:17 +01:00
Update zspotify.py
This commit is contained in:
parent
97c2812522
commit
c138b0c7a4
@ -361,10 +361,12 @@ def downloadTrack(track_id_str: str, extra_paths = ""):
|
||||
|
||||
print("### FOUND SONG:", songName, " ###")
|
||||
|
||||
try:
|
||||
stream = session.content_feeder().load(
|
||||
track_id, VorbisOnlyAudioQuality(quality), False, None)
|
||||
|
||||
|
||||
except:
|
||||
print("### SKIPPING:", songName, "(GENERAL DOWNLOAD ERROR) ###")
|
||||
else:
|
||||
print("### DOWNLOADING RAW AUDIO ###")
|
||||
|
||||
if not os.path.isdir(rootPath + extra_paths):
|
||||
|
Loading…
Reference in New Issue
Block a user