mirror of
https://github.com/THIS-IS-NOT-A-BACKUP/zspotify.git
synced 2025-12-28 11:20:30 +00:00
Update zspotify.py
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user