From 06a997d957a360862f43ead20cb4f3eebdc95b57 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Wed, 14 Oct 2020 23:25:29 +0200 Subject: [PATCH] Fixed download of local mp3s --- deemix/app/track.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deemix/app/track.py b/deemix/app/track.py index c1f7cc9..f82b021 100644 --- a/deemix/app/track.py +++ b/deemix/app/track.py @@ -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