Fixed download of local mp3s
This commit is contained in:
parent
a7bba342d3
commit
06a997d957
|
@ -65,7 +65,8 @@ class Track:
|
||||||
self.fallbackId = "0"
|
self.fallbackId = "0"
|
||||||
if 'FALLBACK' in trackAPI_gw:
|
if 'FALLBACK' in trackAPI_gw:
|
||||||
self.fallbackId = trackAPI_gw['FALLBACK']['SNG_ID']
|
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):
|
def parseLocalTrackData(self, trackAPI_gw):
|
||||||
# Local tracks has only the trackAPI_gw page and
|
# Local tracks has only the trackAPI_gw page and
|
||||||
|
|
Loading…
Reference in New Issue