Merge branch 'feature-albums' of github.com:krateng/maloja into feature-albums

This commit is contained in:
krateng 2023-10-18 13:28:39 +02:00
commit 6af7923853

View File

@ -351,7 +351,7 @@ def parse_maloja(inputf):
'track_title': s['track']['title'],
'track_artists': s['track']['artists'],
'track_length': s['track']['length'],
'album_name': s['track'].get('album',{}).get('name',''),
'album_name': s['track'].get('album',{}).get('albumtitle','') if s['track'].get('album') is not None else '',
'scrobble_time': s['time'],
'scrobble_duration': s['duration']
},'')