Made singleAlbumArtist and albumVariousArtists work together

This commit is contained in:
RemixDev
2020-07-30 19:09:29 +02:00
parent e9418c8433
commit f91e7fe943
2 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,7 @@ def tagID3(stream, track, save):
if save['album']:
tag.add(TALB(text=track['album']['title']))
if save['albumArtist'] and len(track['album']['artists']):
if save['singleAlbumArtist']:
if save['singleAlbumArtist'] and track['album']['mainArtist']['save']:
tag.add(TPE2(text=track['album']['mainArtist']['name']))
else:
tag.add(TPE2(text=track['album']['artists']))