Fixed import issue with empty album artist

This commit is contained in:
Eliot Berriot 2018-09-26 19:58:08 +02:00
parent 0d96e75eeb
commit 59337fb5d8
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
1 changed files with 1 additions and 1 deletions

View File

@ -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: