mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-22 19:53:17 +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.type = data.attrib.get('type')
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue