Add collections info pages

This commit is contained in:
JonnyWong16 2017-12-29 15:52:08 -08:00
parent 28e4151157
commit 8b2bd5ce79
9 changed files with 380 additions and 50 deletions

View file

@ -1104,7 +1104,7 @@ class DataFactory(object):
if str(rating_key).isdigit():
poster_key = rating_key
elif metadata:
if metadata['media_type'] in ('movie', 'show', 'artist'):
if metadata['media_type'] in ('movie', 'show', 'artist', 'collection'):
poster_key = metadata['rating_key']
elif metadata['media_type'] in ('season', 'album'):
poster_key = metadata['rating_key']