mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-19 04:49:36 -07:00
Add originalTitle and bannerFile to show export fields
This commit is contained in:
parent
6fb4b35076
commit
133a7896c8
1 changed files with 5 additions and 1 deletions
|
@ -392,6 +392,7 @@ class Export(object):
|
||||||
'artBlurHash': None,
|
'artBlurHash': None,
|
||||||
'artFile': lambda o: self.get_image(o, 'art'),
|
'artFile': lambda o: self.get_image(o, 'art'),
|
||||||
'banner': None,
|
'banner': None,
|
||||||
|
'bannerFile': lambda o: self.get_image(o, 'banner'),
|
||||||
'childCount': None,
|
'childCount': None,
|
||||||
'collections': {
|
'collections': {
|
||||||
'id': None,
|
'id': None,
|
||||||
|
@ -422,6 +423,7 @@ class Export(object):
|
||||||
'librarySectionTitle': None,
|
'librarySectionTitle': None,
|
||||||
'locations': None,
|
'locations': None,
|
||||||
'originallyAvailableAt': partial(helpers.datetime_to_iso, to_date=True),
|
'originallyAvailableAt': partial(helpers.datetime_to_iso, to_date=True),
|
||||||
|
'originalTitle': None,
|
||||||
'rating': None,
|
'rating': None,
|
||||||
'ratingKey': None,
|
'ratingKey': None,
|
||||||
'roles': {
|
'roles': {
|
||||||
|
@ -1201,7 +1203,7 @@ class Export(object):
|
||||||
_media_type = 'show'
|
_media_type = 'show'
|
||||||
_metadata_levels = {
|
_metadata_levels = {
|
||||||
1: [
|
1: [
|
||||||
'ratingKey', 'title', 'titleSort', 'originallyAvailableAt', 'year', 'addedAt',
|
'ratingKey', 'title', 'titleSort', 'originallyAvailableAt', 'originalTitle', 'year', 'addedAt',
|
||||||
'rating', 'userRating', 'contentRating',
|
'rating', 'userRating', 'contentRating',
|
||||||
'studio', 'summary', 'guid', 'duration', 'durationHuman', 'type', 'childCount',
|
'studio', 'summary', 'guid', 'duration', 'durationHuman', 'type', 'childCount',
|
||||||
'seasons'
|
'seasons'
|
||||||
|
@ -2079,6 +2081,8 @@ class Export(object):
|
||||||
image_url = item.thumbUrl
|
image_url = item.thumbUrl
|
||||||
elif image == 'art':
|
elif image == 'art':
|
||||||
image_url = item.artUrl
|
image_url = item.artUrl
|
||||||
|
elif image == 'banner':
|
||||||
|
image_url = item.bannerUrl
|
||||||
|
|
||||||
if not image_url:
|
if not image_url:
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue