add POPM on ID3 and RATING on Flac

This commit is contained in:
TheoD02
2021-08-03 23:08:06 +02:00
parent 44d018a810
commit 4c119447f5
2 changed files with 13 additions and 1 deletions

View File

@ -57,6 +57,7 @@ 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'):