mirror of
https://github.com/pkkid/python-plexapi
synced 2025-02-16 21:08:27 +00:00
master conflict resolution
This commit is contained in:
parent
998ed04a6c
commit
34e1ea3444
1 changed files with 7 additions and 0 deletions
|
@ -823,6 +823,13 @@ class Clip(Playable, Video):
|
||||||
self.title = data.attrib.get('title')
|
self.title = data.attrib.get('title')
|
||||||
self.type = data.attrib.get('type')
|
self.type = data.attrib.get('type')
|
||||||
self.year = data.attrib.get('year')
|
self.year = data.attrib.get('year')
|
||||||
|
self.viewOffset = utils.cast(int, data.attrib.get('viewOffset', 0))
|
||||||
|
|
||||||
|
def section(self):
|
||||||
|
"""Return the :class:`~plexapi.library.LibrarySection` this item belongs to."""
|
||||||
|
# Clip payloads currently do not contain 'librarySectionID'.
|
||||||
|
# Return None to avoid unnecessary attribute lookup attempts.
|
||||||
|
return None
|
||||||
|
|
||||||
|
|
||||||
@utils.registerPlexObject
|
@utils.registerPlexObject
|
||||||
|
|
Loading…
Add table
Reference in a new issue