Fix for showing dvd or cd when lack of front #16

Merged
odecif merged 1 commits from small-fix-add-list-of-medium-to-artwork into master 2022-10-28 17:14:16 +02:00
Showing only changes of commit 7bc1f4406f - Show all commits

View File

@ -35,7 +35,7 @@ def game(predefinednfo=False, return_dict=False, skip_artwork=False):
i += 1 i += 1
if 'displayimage' not in nfo['game']: if 'displayimage' not in nfo['game']:
for art in nfo['game']['artwork']: for art in nfo['game']['artwork']:
if art['type'] == 'cd': if art['type'] in ['cd', 'dvd']:
nfo['game']['displayimage'] = reduceartcv2( nfo['game']['displayimage'] = reduceartcv2(
artpath+art['filename'], 'thumbnail') artpath+art['filename'], 'thumbnail')
else: else: