Fix for showing dvd or cd when lack of front
This commit is contained in:
parent
dee805633e
commit
7bc1f4406f
@ -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:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user