mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-15 09:42:57 -07:00
Update exporter fields
This commit is contained in:
parent
fec17a7344
commit
6085eec8c2
1 changed files with 62 additions and 21 deletions
|
@ -197,12 +197,14 @@ class Export(object):
|
||||||
'guids': {
|
'guids': {
|
||||||
'id': None
|
'id': None
|
||||||
},
|
},
|
||||||
|
'hasPreviewThumbnails': None,
|
||||||
'key': None,
|
'key': None,
|
||||||
'labels': {
|
'labels': {
|
||||||
'id': None,
|
'id': None,
|
||||||
'tag': None
|
'tag': None
|
||||||
},
|
},
|
||||||
'languageOverride': None,
|
'languageOverride': None,
|
||||||
|
'lastRatedAt': helpers.datetime_to_iso,
|
||||||
'lastViewedAt': helpers.datetime_to_iso,
|
'lastViewedAt': helpers.datetime_to_iso,
|
||||||
'librarySectionID': None,
|
'librarySectionID': None,
|
||||||
'librarySectionKey': None,
|
'librarySectionKey': None,
|
||||||
|
@ -239,6 +241,7 @@ class Export(object):
|
||||||
'exists': None,
|
'exists': None,
|
||||||
'file': None,
|
'file': None,
|
||||||
'has64bitOffsets': None,
|
'has64bitOffsets': None,
|
||||||
|
'hasPreviewThumbnails': None,
|
||||||
'hasThumbnail': None,
|
'hasThumbnail': None,
|
||||||
'id': None,
|
'id': None,
|
||||||
'indexes': None,
|
'indexes': None,
|
||||||
|
@ -428,6 +431,7 @@ class Export(object):
|
||||||
'tag': None
|
'tag': None
|
||||||
},
|
},
|
||||||
'languageOverride': None,
|
'languageOverride': None,
|
||||||
|
'lastRatedAt': helpers.datetime_to_iso,
|
||||||
'lastViewedAt': helpers.datetime_to_iso,
|
'lastViewedAt': helpers.datetime_to_iso,
|
||||||
'leafCount': None,
|
'leafCount': None,
|
||||||
'librarySectionID': None,
|
'librarySectionID': None,
|
||||||
|
@ -472,6 +476,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'),
|
||||||
|
'collections': {
|
||||||
|
'id': None,
|
||||||
|
'tag': None
|
||||||
|
},
|
||||||
'fields': {
|
'fields': {
|
||||||
'name': None,
|
'name': None,
|
||||||
'locked': None
|
'locked': None
|
||||||
|
@ -482,6 +490,7 @@ class Export(object):
|
||||||
},
|
},
|
||||||
'index': None,
|
'index': None,
|
||||||
'key': None,
|
'key': None,
|
||||||
|
'lastRatedAt': helpers.datetime_to_iso,
|
||||||
'lastViewedAt': helpers.datetime_to_iso,
|
'lastViewedAt': helpers.datetime_to_iso,
|
||||||
'leafCount': None,
|
'leafCount': None,
|
||||||
'librarySectionID': None,
|
'librarySectionID': None,
|
||||||
|
@ -491,10 +500,12 @@ class Export(object):
|
||||||
'parentIndex': None,
|
'parentIndex': None,
|
||||||
'parentKey': None,
|
'parentKey': None,
|
||||||
'parentRatingKey': None,
|
'parentRatingKey': None,
|
||||||
|
'parentStudio': None,
|
||||||
'parentTheme': None,
|
'parentTheme': None,
|
||||||
'parentThumb': None,
|
'parentThumb': None,
|
||||||
'parentTitle': None,
|
'parentTitle': None,
|
||||||
'ratingKey': None,
|
'ratingKey': None,
|
||||||
|
'seasonNumber': None,
|
||||||
'summary': None,
|
'summary': None,
|
||||||
'thumb': None,
|
'thumb': None,
|
||||||
'thumbBlurHash': None,
|
'thumbBlurHash': None,
|
||||||
|
@ -506,6 +517,7 @@ class Export(object):
|
||||||
'userRating': None,
|
'userRating': None,
|
||||||
'viewCount': None,
|
'viewCount': None,
|
||||||
'viewedLeafCount': None,
|
'viewedLeafCount': None,
|
||||||
|
'year': None,
|
||||||
'episodes': lambda e: self.export_obj(e)
|
'episodes': lambda e: self.export_obj(e)
|
||||||
}
|
}
|
||||||
return _season_attrs
|
return _season_attrs
|
||||||
|
@ -527,6 +539,10 @@ class Export(object):
|
||||||
'thumb': None
|
'thumb': None
|
||||||
},
|
},
|
||||||
'chapterSource': None,
|
'chapterSource': None,
|
||||||
|
'collections': {
|
||||||
|
'id': None,
|
||||||
|
'tag': None
|
||||||
|
},
|
||||||
'contentRating': None,
|
'contentRating': None,
|
||||||
'directors': {
|
'directors': {
|
||||||
'id': None,
|
'id': None,
|
||||||
|
@ -534,6 +550,7 @@ class Export(object):
|
||||||
},
|
},
|
||||||
'duration': None,
|
'duration': None,
|
||||||
'durationHuman': lambda o: helpers.human_duration(getattr(o, 'duration', 0)),
|
'durationHuman': lambda o: helpers.human_duration(getattr(o, 'duration', 0)),
|
||||||
|
'episodeNumber': None,
|
||||||
'fields': {
|
'fields': {
|
||||||
'name': None,
|
'name': None,
|
||||||
'locked': None
|
'locked': None
|
||||||
|
@ -550,8 +567,10 @@ class Export(object):
|
||||||
'id': None
|
'id': None
|
||||||
},
|
},
|
||||||
'hasIntroMarker': None,
|
'hasIntroMarker': None,
|
||||||
|
'hasPreviewThumbnails': None,
|
||||||
'index': None,
|
'index': None,
|
||||||
'key': None,
|
'key': None,
|
||||||
|
'lastRatedAt': helpers.datetime_to_iso,
|
||||||
'lastViewedAt': helpers.datetime_to_iso,
|
'lastViewedAt': helpers.datetime_to_iso,
|
||||||
'librarySectionID': None,
|
'librarySectionID': None,
|
||||||
'librarySectionKey': None,
|
'librarySectionKey': None,
|
||||||
|
@ -593,6 +612,7 @@ class Export(object):
|
||||||
'exists': None,
|
'exists': None,
|
||||||
'file': None,
|
'file': None,
|
||||||
'has64bitOffsets': None,
|
'has64bitOffsets': None,
|
||||||
|
'hasPreviewThumbnails': None,
|
||||||
'hasThumbnail': None,
|
'hasThumbnail': None,
|
||||||
'id': None,
|
'id': None,
|
||||||
'indexes': None,
|
'indexes': None,
|
||||||
|
@ -711,8 +731,11 @@ class Export(object):
|
||||||
'parentRatingKey': None,
|
'parentRatingKey': None,
|
||||||
'parentThumb': None,
|
'parentThumb': None,
|
||||||
'parentTitle': None,
|
'parentTitle': None,
|
||||||
|
'parentYear': None,
|
||||||
'rating': None,
|
'rating': None,
|
||||||
'ratingKey': None,
|
'ratingKey': None,
|
||||||
|
'seasonEpisode': None,
|
||||||
|
'seasonNumber': None,
|
||||||
'summary': None,
|
'summary': None,
|
||||||
'thumb': None,
|
'thumb': None,
|
||||||
'thumbBlurHash': None,
|
'thumbBlurHash': None,
|
||||||
|
@ -758,6 +781,7 @@ class Export(object):
|
||||||
'guid': None,
|
'guid': None,
|
||||||
'index': None,
|
'index': None,
|
||||||
'key': None,
|
'key': None,
|
||||||
|
'lastRatedAt': helpers.datetime_to_iso,
|
||||||
'lastViewedAt': helpers.datetime_to_iso,
|
'lastViewedAt': helpers.datetime_to_iso,
|
||||||
'librarySectionID': None,
|
'librarySectionID': None,
|
||||||
'librarySectionKey': None,
|
'librarySectionKey': None,
|
||||||
|
@ -816,6 +840,7 @@ class Export(object):
|
||||||
'id': None,
|
'id': None,
|
||||||
'tag': None
|
'tag': None
|
||||||
},
|
},
|
||||||
|
'lastRatedAt': helpers.datetime_to_iso,
|
||||||
'lastViewedAt': helpers.datetime_to_iso,
|
'lastViewedAt': helpers.datetime_to_iso,
|
||||||
'leafCount': None,
|
'leafCount': None,
|
||||||
'librarySectionID': None,
|
'librarySectionID': None,
|
||||||
|
@ -861,6 +886,10 @@ class Export(object):
|
||||||
'art': None,
|
'art': None,
|
||||||
'artBlurHash': None,
|
'artBlurHash': None,
|
||||||
'chapterSource': None,
|
'chapterSource': None,
|
||||||
|
'collections': {
|
||||||
|
'id': None,
|
||||||
|
'tag': 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)),
|
||||||
'fields': {
|
'fields': {
|
||||||
|
@ -876,6 +905,7 @@ class Export(object):
|
||||||
'guid': None,
|
'guid': None,
|
||||||
'index': None,
|
'index': None,
|
||||||
'key': None,
|
'key': None,
|
||||||
|
'lastRatedAt': helpers.datetime_to_iso,
|
||||||
'lastViewedAt': helpers.datetime_to_iso,
|
'lastViewedAt': helpers.datetime_to_iso,
|
||||||
'librarySectionID': None,
|
'librarySectionID': None,
|
||||||
'librarySectionKey': None,
|
'librarySectionKey': None,
|
||||||
|
@ -979,6 +1009,7 @@ class Export(object):
|
||||||
'thumbBlurHash': None,
|
'thumbBlurHash': None,
|
||||||
'title': None,
|
'title': None,
|
||||||
'titleSort': None,
|
'titleSort': None,
|
||||||
|
'trackNumber': None,
|
||||||
'type': None,
|
'type': None,
|
||||||
'updatedAt': helpers.datetime_to_iso,
|
'updatedAt': helpers.datetime_to_iso,
|
||||||
'userRating': None,
|
'userRating': None,
|
||||||
|
@ -1000,6 +1031,7 @@ class Export(object):
|
||||||
'guid': None,
|
'guid': None,
|
||||||
'index': None,
|
'index': None,
|
||||||
'key': None,
|
'key': None,
|
||||||
|
'lastRatedAt': helpers.datetime_to_iso,
|
||||||
'librarySectionID': None,
|
'librarySectionID': None,
|
||||||
'librarySectionKey': None,
|
'librarySectionKey': None,
|
||||||
'librarySectionTitle': None,
|
'librarySectionTitle': None,
|
||||||
|
@ -1029,6 +1061,7 @@ class Export(object):
|
||||||
'guid': None,
|
'guid': None,
|
||||||
'index': None,
|
'index': None,
|
||||||
'key': None,
|
'key': None,
|
||||||
|
'lastRatedAt': helpers.datetime_to_iso,
|
||||||
'librarySectionID': None,
|
'librarySectionID': None,
|
||||||
'librarySectionKey': None,
|
'librarySectionKey': None,
|
||||||
'librarySectionTitle': None,
|
'librarySectionTitle': None,
|
||||||
|
@ -1047,6 +1080,7 @@ class Export(object):
|
||||||
'titleSort': None,
|
'titleSort': None,
|
||||||
'type': None,
|
'type': None,
|
||||||
'updatedAt': helpers.datetime_to_iso,
|
'updatedAt': helpers.datetime_to_iso,
|
||||||
|
'userRating': None,
|
||||||
'year': None,
|
'year': None,
|
||||||
'media': {
|
'media': {
|
||||||
'aperture': None,
|
'aperture': None,
|
||||||
|
@ -1100,6 +1134,7 @@ class Export(object):
|
||||||
'id': None,
|
'id': None,
|
||||||
'tag': None
|
'tag': None
|
||||||
},
|
},
|
||||||
|
'lastRatedAt': helpers.datetime_to_iso,
|
||||||
'librarySectionID': None,
|
'librarySectionID': None,
|
||||||
'librarySectionKey': None,
|
'librarySectionKey': None,
|
||||||
'librarySectionTitle': None,
|
'librarySectionTitle': None,
|
||||||
|
@ -1115,6 +1150,7 @@ class Export(object):
|
||||||
'titleSort': None,
|
'titleSort': None,
|
||||||
'type': None,
|
'type': None,
|
||||||
'updatedAt': helpers.datetime_to_iso,
|
'updatedAt': helpers.datetime_to_iso,
|
||||||
|
'userRating': None,
|
||||||
'items': lambda e: self.export_obj(e)
|
'items': lambda e: self.export_obj(e)
|
||||||
}
|
}
|
||||||
return _collection_attrs
|
return _collection_attrs
|
||||||
|
@ -1123,9 +1159,11 @@ class Export(object):
|
||||||
_playlist_attrs = {
|
_playlist_attrs = {
|
||||||
'addedAt': helpers.datetime_to_iso,
|
'addedAt': helpers.datetime_to_iso,
|
||||||
'composite': None,
|
'composite': None,
|
||||||
|
'content': 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)),
|
||||||
'guid': None,
|
'guid': None,
|
||||||
|
'icon': None,
|
||||||
'key': None,
|
'key': None,
|
||||||
'leafCount': None,
|
'leafCount': None,
|
||||||
'playlistType': None,
|
'playlistType': None,
|
||||||
|
@ -1178,7 +1216,7 @@ class Export(object):
|
||||||
3: [
|
3: [
|
||||||
'art', 'thumb', 'key', 'chapterSource',
|
'art', 'thumb', 'key', 'chapterSource',
|
||||||
'chapters.tag', 'chapters.index', 'chapters.start', 'chapters.end', 'chapters.thumb',
|
'chapters.tag', 'chapters.index', 'chapters.start', 'chapters.end', 'chapters.thumb',
|
||||||
'updatedAt', 'lastViewedAt', 'viewCount'
|
'updatedAt', 'lastViewedAt', 'viewCount', 'lastRatedAt', 'hasPreviewThumbnails'
|
||||||
],
|
],
|
||||||
9: self._get_all_metadata_attrs(_media_type)
|
9: self._get_all_metadata_attrs(_media_type)
|
||||||
}
|
}
|
||||||
|
@ -1193,7 +1231,8 @@ class Export(object):
|
||||||
'media.parts.file', 'media.parts.duration',
|
'media.parts.file', 'media.parts.duration',
|
||||||
'media.parts.container', 'media.parts.indexes', 'media.parts.size', 'media.parts.sizeHuman',
|
'media.parts.container', 'media.parts.indexes', 'media.parts.size', 'media.parts.sizeHuman',
|
||||||
'media.parts.audioProfile', 'media.parts.videoProfile',
|
'media.parts.audioProfile', 'media.parts.videoProfile',
|
||||||
'media.parts.optimizedForStreaming', 'media.parts.deepAnalysisVersion'
|
'media.parts.optimizedForStreaming', 'media.parts.deepAnalysisVersion',
|
||||||
|
'media.parts.hasPreviewThumbnails'
|
||||||
],
|
],
|
||||||
3: [
|
3: [
|
||||||
'media.parts.videoStreams.codec', 'media.parts.videoStreams.bitrate',
|
'media.parts.videoStreams.codec', 'media.parts.videoStreams.bitrate',
|
||||||
|
@ -1240,7 +1279,7 @@ class Export(object):
|
||||||
],
|
],
|
||||||
3: [
|
3: [
|
||||||
'art', 'thumb', 'banner', 'theme', 'key',
|
'art', 'thumb', 'banner', 'theme', 'key',
|
||||||
'updatedAt', 'lastViewedAt', 'viewCount'
|
'updatedAt', 'lastViewedAt', 'viewCount', 'lastRatedAt'
|
||||||
],
|
],
|
||||||
9: self._get_all_metadata_attrs(_media_type)
|
9: self._get_all_metadata_attrs(_media_type)
|
||||||
}
|
}
|
||||||
|
@ -1251,18 +1290,19 @@ class Export(object):
|
||||||
_media_type = 'season'
|
_media_type = 'season'
|
||||||
_metadata_levels = {
|
_metadata_levels = {
|
||||||
1: [
|
1: [
|
||||||
'ratingKey', 'title', 'titleSort', 'addedAt',
|
'ratingKey', 'title', 'titleSort', 'addedAt', 'year',
|
||||||
'userRating',
|
'userRating',
|
||||||
'summary', 'guid', 'type', 'index',
|
'summary', 'guid', 'type', 'seasonNumber',
|
||||||
'parentTitle', 'parentRatingKey', 'parentGuid',
|
'parentTitle', 'parentRatingKey', 'parentGuid',
|
||||||
'episodes'
|
'episodes'
|
||||||
],
|
],
|
||||||
2: [
|
2: [
|
||||||
|
'collections.tag',
|
||||||
'fields.name', 'fields.locked', 'guids.id'
|
'fields.name', 'fields.locked', 'guids.id'
|
||||||
],
|
],
|
||||||
3: [
|
3: [
|
||||||
'art', 'thumb', 'key',
|
'art', 'thumb', 'key',
|
||||||
'updatedAt', 'lastViewedAt', 'viewCount',
|
'updatedAt', 'lastViewedAt', 'viewCount', 'lastRatedAt',
|
||||||
'parentKey', 'parentTheme', 'parentThumb'
|
'parentKey', 'parentTheme', 'parentThumb'
|
||||||
],
|
],
|
||||||
9: self._get_all_metadata_attrs(_media_type)
|
9: self._get_all_metadata_attrs(_media_type)
|
||||||
|
@ -1276,19 +1316,19 @@ class Export(object):
|
||||||
1: [
|
1: [
|
||||||
'ratingKey', 'title', 'titleSort', 'originallyAvailableAt', 'year', 'addedAt',
|
'ratingKey', 'title', 'titleSort', 'originallyAvailableAt', 'year', 'addedAt',
|
||||||
'rating', 'audienceRating', 'audienceRatingImage', 'userRating', 'contentRating',
|
'rating', 'audienceRating', 'audienceRatingImage', 'userRating', 'contentRating',
|
||||||
'summary', 'guid', 'duration', 'durationHuman', 'type', 'index',
|
'summary', 'guid', 'duration', 'durationHuman', 'type', 'episodeNumber', 'seasonEpisode',
|
||||||
'parentTitle', 'parentRatingKey', 'parentGuid', 'parentIndex',
|
'parentTitle', 'parentRatingKey', 'parentGuid', 'parentYear', 'seasonNumber',
|
||||||
'grandparentTitle', 'grandparentRatingKey', 'grandparentGuid', 'hasIntroMarker'
|
'grandparentTitle', 'grandparentRatingKey', 'grandparentGuid', 'hasIntroMarker'
|
||||||
],
|
],
|
||||||
2: [
|
2: [
|
||||||
'directors.tag', 'writers.tag',
|
'collections.tag', 'directors.tag', 'writers.tag',
|
||||||
'fields.name', 'fields.locked', 'guids.id',
|
'fields.name', 'fields.locked', 'guids.id',
|
||||||
'markers.type', 'markers.start', 'markers.end'
|
'markers.type', 'markers.start', 'markers.end'
|
||||||
],
|
],
|
||||||
3: [
|
3: [
|
||||||
'art', 'thumb', 'key', 'chapterSource',
|
'art', 'thumb', 'key', 'chapterSource',
|
||||||
'chapters.tag', 'chapters.index', 'chapters.start', 'chapters.end', 'chapters.thumb',
|
'chapters.tag', 'chapters.index', 'chapters.start', 'chapters.end', 'chapters.thumb',
|
||||||
'updatedAt', 'lastViewedAt', 'viewCount',
|
'updatedAt', 'lastViewedAt', 'viewCount', 'lastRatedAt', 'hasPreviewThumbnails',
|
||||||
'parentThumb', 'parentKey',
|
'parentThumb', 'parentKey',
|
||||||
'grandparentArt', 'grandparentThumb', 'grandparentTheme', 'grandparentKey'
|
'grandparentArt', 'grandparentThumb', 'grandparentTheme', 'grandparentKey'
|
||||||
],
|
],
|
||||||
|
@ -1305,7 +1345,8 @@ class Export(object):
|
||||||
'media.parts.file', 'media.parts.duration',
|
'media.parts.file', 'media.parts.duration',
|
||||||
'media.parts.container', 'media.parts.indexes', 'media.parts.size', 'media.parts.sizeHuman',
|
'media.parts.container', 'media.parts.indexes', 'media.parts.size', 'media.parts.sizeHuman',
|
||||||
'media.parts.audioProfile', 'media.parts.videoProfile',
|
'media.parts.audioProfile', 'media.parts.videoProfile',
|
||||||
'media.parts.optimizedForStreaming', 'media.parts.deepAnalysisVersion'
|
'media.parts.optimizedForStreaming', 'media.parts.deepAnalysisVersion',
|
||||||
|
'media.parts.hasPreviewThumbnails'
|
||||||
],
|
],
|
||||||
3: [
|
3: [
|
||||||
'media.parts.videoStreams.codec', 'media.parts.videoStreams.bitrate',
|
'media.parts.videoStreams.codec', 'media.parts.videoStreams.bitrate',
|
||||||
|
@ -1351,7 +1392,7 @@ class Export(object):
|
||||||
],
|
],
|
||||||
3: [
|
3: [
|
||||||
'art', 'thumb', 'key',
|
'art', 'thumb', 'key',
|
||||||
'updatedAt', 'lastViewedAt', 'viewCount'
|
'updatedAt', 'lastViewedAt', 'viewCount', 'lastRatedAt'
|
||||||
],
|
],
|
||||||
9: self._get_all_metadata_attrs(_media_type)
|
9: self._get_all_metadata_attrs(_media_type)
|
||||||
}
|
}
|
||||||
|
@ -1374,7 +1415,7 @@ class Export(object):
|
||||||
],
|
],
|
||||||
3: [
|
3: [
|
||||||
'art', 'thumb', 'key',
|
'art', 'thumb', 'key',
|
||||||
'updatedAt', 'lastViewedAt', 'viewCount',
|
'updatedAt', 'lastViewedAt', 'viewCount', 'lastRatedAt',
|
||||||
'parentKey', 'parentThumb'
|
'parentKey', 'parentThumb'
|
||||||
],
|
],
|
||||||
9: self._get_all_metadata_attrs(_media_type)
|
9: self._get_all_metadata_attrs(_media_type)
|
||||||
|
@ -1388,17 +1429,17 @@ class Export(object):
|
||||||
1: [
|
1: [
|
||||||
'ratingKey', 'title', 'titleSort', 'originalTitle', 'year', 'addedAt',
|
'ratingKey', 'title', 'titleSort', 'originalTitle', 'year', 'addedAt',
|
||||||
'userRating', 'ratingCount',
|
'userRating', 'ratingCount',
|
||||||
'summary', 'guid', 'duration', 'durationHuman', 'type', 'index',
|
'summary', 'guid', 'duration', 'durationHuman', 'type', 'trackNumber',
|
||||||
'parentTitle', 'parentRatingKey', 'parentGuid', 'parentIndex',
|
'parentTitle', 'parentRatingKey', 'parentGuid', 'parentIndex',
|
||||||
'grandparentTitle', 'grandparentRatingKey', 'grandparentGuid'
|
'grandparentTitle', 'grandparentRatingKey', 'grandparentGuid'
|
||||||
],
|
],
|
||||||
2: [
|
2: [
|
||||||
'moods.tag',
|
'collections.tag', 'moods.tag',
|
||||||
'fields.name', 'fields.locked'
|
'fields.name', 'fields.locked'
|
||||||
],
|
],
|
||||||
3: [
|
3: [
|
||||||
'art', 'thumb', 'key',
|
'art', 'thumb', 'key',
|
||||||
'updatedAt', 'lastViewedAt', 'viewCount',
|
'updatedAt', 'lastViewedAt', 'viewCount', 'lastRatedAt',
|
||||||
'parentThumb', 'parentKey',
|
'parentThumb', 'parentKey',
|
||||||
'grandparentArt', 'grandparentThumb', 'grandparentKey'
|
'grandparentArt', 'grandparentThumb', 'grandparentKey'
|
||||||
],
|
],
|
||||||
|
@ -1453,7 +1494,7 @@ class Export(object):
|
||||||
],
|
],
|
||||||
3: [
|
3: [
|
||||||
'art', 'thumb', 'key',
|
'art', 'thumb', 'key',
|
||||||
'updatedAt'
|
'updatedAt', 'lastRatedAt'
|
||||||
],
|
],
|
||||||
9: self._get_all_metadata_attrs(_media_type)
|
9: self._get_all_metadata_attrs(_media_type)
|
||||||
}
|
}
|
||||||
|
@ -1465,7 +1506,7 @@ class Export(object):
|
||||||
_metadata_levels = {
|
_metadata_levels = {
|
||||||
1: [
|
1: [
|
||||||
'ratingKey', 'title', 'titleSort', 'year', 'originallyAvailableAt', 'addedAt',
|
'ratingKey', 'title', 'titleSort', 'year', 'originallyAvailableAt', 'addedAt',
|
||||||
'summary', 'guid', 'type', 'index',
|
'summary', 'guid', 'type', 'index', 'userRating',
|
||||||
'parentTitle', 'parentRatingKey', 'parentGuid', 'parentIndex',
|
'parentTitle', 'parentRatingKey', 'parentGuid', 'parentIndex',
|
||||||
'createdAtAccuracy', 'createdAtTZOffset'
|
'createdAtAccuracy', 'createdAtTZOffset'
|
||||||
],
|
],
|
||||||
|
@ -1474,7 +1515,7 @@ class Export(object):
|
||||||
],
|
],
|
||||||
3: [
|
3: [
|
||||||
'thumb', 'key',
|
'thumb', 'key',
|
||||||
'updatedAt',
|
'updatedAt', 'lastRatedAt',
|
||||||
'parentThumb', 'parentKey'
|
'parentThumb', 'parentKey'
|
||||||
],
|
],
|
||||||
9: self._get_all_metadata_attrs(_media_type)
|
9: self._get_all_metadata_attrs(_media_type)
|
||||||
|
@ -1502,7 +1543,7 @@ class Export(object):
|
||||||
_metadata_levels = {
|
_metadata_levels = {
|
||||||
1: [
|
1: [
|
||||||
'ratingKey', 'title', 'titleSort', 'minYear', 'maxYear', 'addedAt',
|
'ratingKey', 'title', 'titleSort', 'minYear', 'maxYear', 'addedAt',
|
||||||
'contentRating',
|
'contentRating', 'userRating',
|
||||||
'summary', 'guid', 'type', 'subtype', 'childCount',
|
'summary', 'guid', 'type', 'subtype', 'childCount',
|
||||||
'collectionMode', 'collectionSort',
|
'collectionMode', 'collectionSort',
|
||||||
'items'
|
'items'
|
||||||
|
@ -1513,7 +1554,7 @@ class Export(object):
|
||||||
],
|
],
|
||||||
3: [
|
3: [
|
||||||
'art', 'thumb', 'key',
|
'art', 'thumb', 'key',
|
||||||
'updatedAt'
|
'updatedAt', 'lastRatedAt'
|
||||||
],
|
],
|
||||||
9: self._get_all_metadata_attrs(_media_type)
|
9: self._get_all_metadata_attrs(_media_type)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue