update episodes _include to include markers

add markers attrib to episode
This commit is contained in:
blacktwin 2020-05-23 02:12:36 -04:00
parent 61c0669905
commit 65271c351d

View file

@ -644,7 +644,7 @@ class Episode(Playable, Video):
_include = ('?checkFiles=1&includeExtras=1&includeRelated=1' _include = ('?checkFiles=1&includeExtras=1&includeRelated=1'
'&includeOnDeck=1&includeChapters=1&includePopularLeaves=1' '&includeOnDeck=1&includeChapters=1&includePopularLeaves=1'
'&includeConcerts=1&includePreferences=1') '&includeMarkers=1&includeConcerts=1&includePreferences=1')
def _loadData(self, data): def _loadData(self, data):
""" Load attribute values from Plex XML response. """ """ Load attribute values from Plex XML response. """
@ -680,6 +680,7 @@ class Episode(Playable, Video):
self.labels = self.findItems(data, media.Label) self.labels = self.findItems(data, media.Label)
self.collections = self.findItems(data, media.Collection) self.collections = self.findItems(data, media.Collection)
self.chapters = self.findItems(data, media.Chapter) self.chapters = self.findItems(data, media.Chapter)
self.markers = self.findItems(data, media.Marker)
def __repr__(self): def __repr__(self):
return '<%s>' % ':'.join([p for p in [ return '<%s>' % ':'.join([p for p in [