Skip to content
Snippets Groups Projects
Verified Commit 59337fb5 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Fixed import issue with empty album artist

parent 0d96e75e
No related branches found
No related tags found
No related merge requests found
......@@ -469,7 +469,7 @@ def get_track_from_import_metadata(data):
models.Artist, query, defaults=defaults, sort_fields=["mbid", "fid"]
)[0]
album_artist_name = data.get("album_artist", artist_name)
album_artist_name = data.get("album_artist") or artist_name
if album_artist_name == artist_name:
album_artist = artist
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment