mirror of
https://github.com/THIS-IS-NOT-A-BACKUP/zspotify.git
synced 2024-11-29 19:24:34 +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, " ###")
|
print("### FOUND SONG:", songName, " ###")
|
||||||
|
|
||||||
|
try:
|
||||||
stream = session.content_feeder().load(
|
stream = session.content_feeder().load(
|
||||||
track_id, VorbisOnlyAudioQuality(quality), False, None)
|
track_id, VorbisOnlyAudioQuality(quality), False, None)
|
||||||
|
except:
|
||||||
|
print("### SKIPPING:", songName, "(GENERAL DOWNLOAD ERROR) ###")
|
||||||
|
else:
|
||||||
print("### DOWNLOADING RAW AUDIO ###")
|
print("### DOWNLOADING RAW AUDIO ###")
|
||||||
|
|
||||||
if not os.path.isdir(rootPath + extra_paths):
|
if not os.path.isdir(rootPath + extra_paths):
|
||||||
|
Loading…
Reference in New Issue
Block a user