mirror of
https://github.com/yaronzz/Tidal-Media-Downloader.git
synced 2026-01-16 16:04:25 -05:00
Only take streamReady track
This is when a track is still in the playlist and no longer on tidal, you can't play the song anymore through tidal Fix Issue #970
This commit is contained in:
@@ -269,7 +269,7 @@ class TidalAPI(object):
|
||||
tracks = []
|
||||
videos = []
|
||||
for item in data:
|
||||
if item['type'] == 'track':
|
||||
if item['type'] == 'track' and item['item']['streamReady']:
|
||||
tracks.append(aigpy.model.dictToModel(item['item'], Track()))
|
||||
else:
|
||||
videos.append(aigpy.model.dictToModel(item['item'], Video()))
|
||||
|
||||
Reference in New Issue
Block a user