From ae5243288db7bd11b4ac5499f4727540920f92e6 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Tue, 21 Sep 2021 08:53:05 +0200 Subject: [PATCH] Rank is not essential data --- deemix/types/Track.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deemix/types/Track.py b/deemix/types/Track.py index a034ad8..f29e260 100644 --- a/deemix/types/Track.py +++ b/deemix/types/Track.py @@ -57,7 +57,6 @@ class Track: self.id = str(trackAPI_gw['SNG_ID']) self.duration = trackAPI_gw['DURATION'] self.trackToken = trackAPI_gw['TRACK_TOKEN'] - self.rank = trackAPI_gw['RANK_SNG'] self.MD5 = trackAPI_gw.get('MD5_ORIGIN') if not self.MD5: if trackAPI and trackAPI.get('md5_origin'): @@ -205,6 +204,7 @@ class Track: self.ISRC = trackAPI_gw.get('ISRC') self.trackNumber = trackAPI_gw['TRACK_NUMBER'] self.contributors = trackAPI_gw['SNG_CONTRIBUTORS'] + self.rank = trackAPI_gw['RANK_SNG'] self.lyrics = Lyrics(trackAPI_gw.get('LYRICS_ID', "0"))