mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-05 20:51:15 -07:00
Add logos to season and episode exports
This commit is contained in:
parent
078c293bd7
commit
67fa4ca645
1 changed files with 8 additions and 2 deletions
|
@ -40,8 +40,8 @@ class Export(object):
|
||||||
MEDIA_TYPES = {
|
MEDIA_TYPES = {
|
||||||
'movie': (True, True, True),
|
'movie': (True, True, True),
|
||||||
'show': (True, True, True),
|
'show': (True, True, True),
|
||||||
'season': (True, True, False),
|
'season': (True, True, True),
|
||||||
'episode': (False, False, False),
|
'episode': (False, False, True),
|
||||||
'artist': (True, True, False),
|
'artist': (True, True, False),
|
||||||
'album': (True, True, False),
|
'album': (True, True, False),
|
||||||
'track': (False, False, False),
|
'track': (False, False, False),
|
||||||
|
@ -533,6 +533,9 @@ class Export(object):
|
||||||
'librarySectionID': None,
|
'librarySectionID': None,
|
||||||
'librarySectionKey': None,
|
'librarySectionKey': None,
|
||||||
'librarySectionTitle': None,
|
'librarySectionTitle': None,
|
||||||
|
'logo': lambda o: next((i.url for i in o.images if i.type == 'clearLogo'), None),
|
||||||
|
'logoFile': lambda o: self.get_image(o, 'logo'),
|
||||||
|
'logoProvider': lambda o: self.get_image_provider(o, 'logo'),
|
||||||
'metadataDirectory': None,
|
'metadataDirectory': None,
|
||||||
'parentGuid': None,
|
'parentGuid': None,
|
||||||
'parentIndex': None,
|
'parentIndex': None,
|
||||||
|
@ -626,6 +629,9 @@ class Export(object):
|
||||||
'librarySectionKey': None,
|
'librarySectionKey': None,
|
||||||
'librarySectionTitle': None,
|
'librarySectionTitle': None,
|
||||||
'locations': None,
|
'locations': None,
|
||||||
|
'logo': lambda o: next((i.url for i in o.images if i.type == 'clearLogo'), None),
|
||||||
|
'logoFile': lambda o: self.get_image(o, 'logo'),
|
||||||
|
'logoProvider': lambda o: self.get_image_provider(o, 'logo'),
|
||||||
'markers': {
|
'markers': {
|
||||||
'end': None,
|
'end': None,
|
||||||
'final': None,
|
'final': None,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue