Import from Maloja export now includes album artists

This commit is contained in:
krateng 2023-10-28 16:08:52 +02:00
parent 771a5ba3aa
commit 6f16957404
2 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,8 @@ minor_release_name: "Nicole"
notes:
- "[Architecture] Switched to linuxserver.io container base image"
- "[Architecture] Reworked image handling"
- "[Feature] Added basic support for albums"
- "[Architecture] Removed pre-calculated stats"
- "[Feature] Added support for albums"
- "[Feature] New start page"
- "[Feature] Added UI for track-artist, track-album and album-artist association"
- "[Feature] Added inline UI for association and merging in chart lists"

View File

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