Add intro markers to exporter

This commit is contained in:
JonnyWong16 2020-10-19 09:23:50 -07:00
parent c4ac03738b
commit ecbe79b5b9
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -492,6 +492,7 @@ class Export(object):
'grandparentThumb': None, 'grandparentThumb': None,
'grandparentTitle': None, 'grandparentTitle': None,
'guid': None, 'guid': None,
'hasIntroMarker': None,
'index': None, 'index': None,
'key': None, 'key': None,
'lastViewedAt': helpers.datetime_to_iso, 'lastViewedAt': helpers.datetime_to_iso,
@ -499,6 +500,11 @@ class Export(object):
'librarySectionKey': None, 'librarySectionKey': None,
'librarySectionTitle': None, 'librarySectionTitle': None,
'locations': None, 'locations': None,
'markers': {
'end': None,
'start': None,
'type': None
},
'media': { 'media': {
'aspectRatio': None, 'aspectRatio': None,
'audioChannels': None, 'audioChannels': None,
@ -1179,11 +1185,12 @@ class Export(object):
'rating', 'userRating', 'contentRating', 'rating', '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' 'grandparentTitle', 'grandparentRatingKey', 'grandparentGuid', 'hasIntroMarker'
], ],
2: [ 2: [
'directors.tag', 'writers.tag', 'directors.tag', 'writers.tag',
'fields.name', 'fields.locked' 'fields.name', 'fields.locked',
'markers.type', 'markers.start', 'markers.end'
], ],
3: [ 3: [
'art', 'thumb', 'key', 'chapterSource', 'art', 'thumb', 'key', 'chapterSource',