mirror of
https://gitlab.com/RemixDev/deemix-py.git
synced 2024-12-28 02:26:14 +00:00
Fixed download of local mp3s
This commit is contained in:
parent
a7bba342d3
commit
06a997d957
|
@ -65,7 +65,8 @@ class Track:
|
|||
self.fallbackId = "0"
|
||||
if 'FALLBACK' in trackAPI_gw:
|
||||
self.fallbackId = trackAPI_gw['FALLBACK']['SNG_ID']
|
||||
self.filesizes = dz.get_track_filesizes(self.id)
|
||||
if int(self.id) > 0:
|
||||
self.filesizes = dz.get_track_filesizes(self.id)
|
||||
|
||||
def parseLocalTrackData(self, trackAPI_gw):
|
||||
# Local tracks has only the trackAPI_gw page and
|
||||
|
|
Loading…
Reference in a new issue