Skip to content

Commit

Permalink
RadicalCash/Add Thumbnails as Fallback if No Other Images Found
Browse files Browse the repository at this point in the history
  • Loading branch information
diamondpete committed Aug 1, 2024
1 parent d5fce62 commit 9d067e4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Contents/Code/networkRadicalCash.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ def update(metadata, lang, siteNum, movieGenres, movieActors, art):
for image in list(content[imageType]):
art.append(image)

if not art:
if 'thumbs' in content:
for image in content['thumbs']:
art.append(image)

images = []
posterExists = False
Log('Artwork found: %d' % len(art))
Expand Down

0 comments on commit 9d067e4

Please sign in to comment.