1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Reduce stored extra info from Listenbrainz API

This commit is contained in:
krateng 2022-09-11 21:01:21 +02:00 committed by GitHub
parent d5f2c254f3
commit 91750db8ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ class Listenbrainz(APIHandler):
# fields that will not be consumed by regular scrobbling # fields that will not be consumed by regular scrobbling
# will go into 'extra' # will go into 'extra'
k:additional[k] k:additional[k]
for k in ['track_mbid', 'release_mbid', 'release_artist_name', 'artist_mbids','recording_mbid','tags', 'origin_url', 'spotify_id', 'music_service', 'music_service_name', 'submission_client'] for k in ['track_mbid', 'release_mbid', 'artist_mbids','recording_mbid','tags']
if k in additional if k in additional
} }