mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-13 08:42:59 -07:00
Update exporter fields for new Plex TV agent
This commit is contained in:
parent
32ca522c32
commit
a2f661df0d
1 changed files with 31 additions and 6 deletions
|
@ -202,6 +202,7 @@ class Export(object):
|
||||||
'id': None,
|
'id': None,
|
||||||
'tag': None
|
'tag': None
|
||||||
},
|
},
|
||||||
|
'languageOverride': None,
|
||||||
'lastViewedAt': helpers.datetime_to_iso,
|
'lastViewedAt': helpers.datetime_to_iso,
|
||||||
'librarySectionID': None,
|
'librarySectionID': None,
|
||||||
'librarySectionKey': None,
|
'librarySectionKey': None,
|
||||||
|
@ -374,6 +375,7 @@ class Export(object):
|
||||||
'titleSort': None,
|
'titleSort': None,
|
||||||
'type': None,
|
'type': None,
|
||||||
'updatedAt': helpers.datetime_to_iso,
|
'updatedAt': helpers.datetime_to_iso,
|
||||||
|
'useOriginalTitle': None,
|
||||||
'userRating': None,
|
'userRating': None,
|
||||||
'viewCount': None,
|
'viewCount': None,
|
||||||
'viewOffset': None,
|
'viewOffset': None,
|
||||||
|
@ -391,6 +393,10 @@ class Export(object):
|
||||||
'art': None,
|
'art': None,
|
||||||
'artBlurHash': None,
|
'artBlurHash': None,
|
||||||
'artFile': lambda o: self.get_image(o, 'art'),
|
'artFile': lambda o: self.get_image(o, 'art'),
|
||||||
|
'audienceRating': None,
|
||||||
|
'audienceRatingImage': None,
|
||||||
|
'autoDeletionItemPolicyUnwatchedLibrary': None,
|
||||||
|
'autoDeletionItemPolicyWatchedLibrary': None,
|
||||||
'banner': None,
|
'banner': None,
|
||||||
'bannerFile': lambda o: self.get_image(o, 'banner'),
|
'bannerFile': lambda o: self.get_image(o, 'banner'),
|
||||||
'childCount': None,
|
'childCount': None,
|
||||||
|
@ -401,27 +407,34 @@ class Export(object):
|
||||||
'contentRating': None,
|
'contentRating': None,
|
||||||
'duration': None,
|
'duration': None,
|
||||||
'durationHuman': lambda o: helpers.human_duration(getattr(o, 'duration', 0)),
|
'durationHuman': lambda o: helpers.human_duration(getattr(o, 'duration', 0)),
|
||||||
|
'episodeSort': None,
|
||||||
'fields': {
|
'fields': {
|
||||||
'name': None,
|
'name': None,
|
||||||
'locked': None
|
'locked': None
|
||||||
},
|
},
|
||||||
|
'flattenSeasons': None,
|
||||||
'genres': {
|
'genres': {
|
||||||
'id': None,
|
'id': None,
|
||||||
'tag': None
|
'tag': None
|
||||||
},
|
},
|
||||||
'guid': None,
|
'guid': None,
|
||||||
|
'guids': {
|
||||||
|
'id': None
|
||||||
|
},
|
||||||
'index': None,
|
'index': None,
|
||||||
'key': None,
|
'key': None,
|
||||||
'labels': {
|
'labels': {
|
||||||
'id': None,
|
'id': None,
|
||||||
'tag': None
|
'tag': None
|
||||||
},
|
},
|
||||||
|
'languageOverride': None,
|
||||||
'lastViewedAt': helpers.datetime_to_iso,
|
'lastViewedAt': helpers.datetime_to_iso,
|
||||||
'leafCount': None,
|
'leafCount': None,
|
||||||
'librarySectionID': None,
|
'librarySectionID': None,
|
||||||
'librarySectionKey': None,
|
'librarySectionKey': None,
|
||||||
'librarySectionTitle': None,
|
'librarySectionTitle': None,
|
||||||
'locations': None,
|
'locations': None,
|
||||||
|
'network': None,
|
||||||
'originallyAvailableAt': partial(helpers.datetime_to_iso, to_date=True),
|
'originallyAvailableAt': partial(helpers.datetime_to_iso, to_date=True),
|
||||||
'originalTitle': None,
|
'originalTitle': None,
|
||||||
'rating': None,
|
'rating': None,
|
||||||
|
@ -432,8 +445,10 @@ class Export(object):
|
||||||
'role': None,
|
'role': None,
|
||||||
'thumb': None
|
'thumb': None
|
||||||
},
|
},
|
||||||
|
'showOrdering': None,
|
||||||
'studio': None,
|
'studio': None,
|
||||||
'summary': None,
|
'summary': None,
|
||||||
|
'tagline': None,
|
||||||
'theme': None,
|
'theme': None,
|
||||||
'thumb': None,
|
'thumb': None,
|
||||||
'thumbBlurHash': None,
|
'thumbBlurHash': None,
|
||||||
|
@ -442,6 +457,7 @@ class Export(object):
|
||||||
'titleSort': None,
|
'titleSort': None,
|
||||||
'type': None,
|
'type': None,
|
||||||
'updatedAt': helpers.datetime_to_iso,
|
'updatedAt': helpers.datetime_to_iso,
|
||||||
|
'useOriginalTitle': None,
|
||||||
'userRating': None,
|
'userRating': None,
|
||||||
'viewCount': None,
|
'viewCount': None,
|
||||||
'viewedLeafCount': None,
|
'viewedLeafCount': None,
|
||||||
|
@ -461,6 +477,9 @@ class Export(object):
|
||||||
'locked': None
|
'locked': None
|
||||||
},
|
},
|
||||||
'guid': None,
|
'guid': None,
|
||||||
|
'guids': {
|
||||||
|
'id': None
|
||||||
|
},
|
||||||
'index': None,
|
'index': None,
|
||||||
'key': None,
|
'key': None,
|
||||||
'lastViewedAt': helpers.datetime_to_iso,
|
'lastViewedAt': helpers.datetime_to_iso,
|
||||||
|
@ -497,6 +516,8 @@ class Export(object):
|
||||||
'art': None,
|
'art': None,
|
||||||
'artBlurHash': None,
|
'artBlurHash': None,
|
||||||
'artFile': lambda o: self.get_image(o, 'art'),
|
'artFile': lambda o: self.get_image(o, 'art'),
|
||||||
|
'audienceRating': None,
|
||||||
|
'audienceRatingImage': None,
|
||||||
'chapters': {
|
'chapters': {
|
||||||
'id': None,
|
'id': None,
|
||||||
'tag': None,
|
'tag': None,
|
||||||
|
@ -525,6 +546,9 @@ class Export(object):
|
||||||
'grandparentThumb': None,
|
'grandparentThumb': None,
|
||||||
'grandparentTitle': None,
|
'grandparentTitle': None,
|
||||||
'guid': None,
|
'guid': None,
|
||||||
|
'guids': {
|
||||||
|
'id': None
|
||||||
|
},
|
||||||
'hasIntroMarker': None,
|
'hasIntroMarker': None,
|
||||||
'index': None,
|
'index': None,
|
||||||
'key': None,
|
'key': None,
|
||||||
|
@ -711,6 +735,7 @@ class Export(object):
|
||||||
def artist_attrs():
|
def artist_attrs():
|
||||||
_artist_attrs = {
|
_artist_attrs = {
|
||||||
'addedAt': helpers.datetime_to_iso,
|
'addedAt': helpers.datetime_to_iso,
|
||||||
|
'albumSort': None,
|
||||||
'art': None,
|
'art': None,
|
||||||
'artBlurHash': None,
|
'artBlurHash': None,
|
||||||
'artFile': lambda o: self.get_image(o, 'art'),
|
'artFile': lambda o: self.get_image(o, 'art'),
|
||||||
|
@ -1204,14 +1229,14 @@ class Export(object):
|
||||||
_metadata_levels = {
|
_metadata_levels = {
|
||||||
1: [
|
1: [
|
||||||
'ratingKey', 'title', 'titleSort', 'originallyAvailableAt', 'originalTitle', 'year', 'addedAt',
|
'ratingKey', 'title', 'titleSort', 'originallyAvailableAt', 'originalTitle', 'year', 'addedAt',
|
||||||
'rating', 'userRating', 'contentRating',
|
'rating', 'audienceRating', 'audienceRatingImage', 'userRating', 'contentRating', 'network',
|
||||||
'studio', 'summary', 'guid', 'duration', 'durationHuman', 'type', 'childCount',
|
'studio', 'tagline', 'summary', 'guid', 'duration', 'durationHuman', 'type', 'childCount',
|
||||||
'seasons'
|
'seasons'
|
||||||
],
|
],
|
||||||
2: [
|
2: [
|
||||||
'roles.tag', 'roles.role',
|
'roles.tag', 'roles.role',
|
||||||
'genres.tag', 'collections.tag', 'labels.tag',
|
'genres.tag', 'collections.tag', 'labels.tag',
|
||||||
'fields.name', 'fields.locked'
|
'fields.name', 'fields.locked', 'guids.id'
|
||||||
],
|
],
|
||||||
3: [
|
3: [
|
||||||
'art', 'thumb', 'banner', 'theme', 'key',
|
'art', 'thumb', 'banner', 'theme', 'key',
|
||||||
|
@ -1233,7 +1258,7 @@ class Export(object):
|
||||||
'episodes'
|
'episodes'
|
||||||
],
|
],
|
||||||
2: [
|
2: [
|
||||||
'fields.name', 'fields.locked'
|
'fields.name', 'fields.locked', 'guids.id'
|
||||||
],
|
],
|
||||||
3: [
|
3: [
|
||||||
'art', 'thumb', 'key',
|
'art', 'thumb', 'key',
|
||||||
|
@ -1250,14 +1275,14 @@ class Export(object):
|
||||||
_metadata_levels = {
|
_metadata_levels = {
|
||||||
1: [
|
1: [
|
||||||
'ratingKey', 'title', 'titleSort', 'originallyAvailableAt', 'year', 'addedAt',
|
'ratingKey', 'title', 'titleSort', 'originallyAvailableAt', 'year', 'addedAt',
|
||||||
'rating', 'userRating', 'contentRating',
|
'rating', 'audienceRating', 'audienceRatingImage', 'userRating', 'contentRating',
|
||||||
'summary', 'guid', 'duration', 'durationHuman', 'type', 'index',
|
'summary', 'guid', 'duration', 'durationHuman', 'type', 'index',
|
||||||
'parentTitle', 'parentRatingKey', 'parentGuid', 'parentIndex',
|
'parentTitle', 'parentRatingKey', 'parentGuid', 'parentIndex',
|
||||||
'grandparentTitle', 'grandparentRatingKey', 'grandparentGuid', 'hasIntroMarker'
|
'grandparentTitle', 'grandparentRatingKey', 'grandparentGuid', 'hasIntroMarker'
|
||||||
],
|
],
|
||||||
2: [
|
2: [
|
||||||
'directors.tag', 'writers.tag',
|
'directors.tag', 'writers.tag',
|
||||||
'fields.name', 'fields.locked',
|
'fields.name', 'fields.locked', 'guids.id',
|
||||||
'markers.type', 'markers.start', 'markers.end'
|
'markers.type', 'markers.start', 'markers.end'
|
||||||
],
|
],
|
||||||
3: [
|
3: [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue