Fixed More album display

This commit is contained in:
RemixDev 2020-08-04 16:00:52 +02:00
parent c0ba5316cc
commit d856a08b90
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ class Deezer:
'nb_song': release['NUMBER_TRACK'],
'nb_disk': release['NUMBER_DISK']
}
if release['ART_ID'] == art_id or release['ART_ID'] != art_id and release['ROLE_ID'] == 0 and release['ARTISTS_ALBUMS_IS_OFFICIAL']:
if (release['ART_ID'] == art_id or release['ART_ID'] != art_id and release['ROLE_ID'] == 0) and release['ARTISTS_ALBUMS_IS_OFFICIAL']:
if not obj['record_type'] in result:
result[obj['record_type']] = []
result[obj['record_type']].append(obj)