mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 05:01:14 -07:00
Update python-plexapi-4.7.2
This commit is contained in:
parent
c8b02b06d6
commit
0770a301c7
12 changed files with 283 additions and 42 deletions
|
@ -174,7 +174,7 @@ class MediaPart(PlexObject):
|
|||
return [stream for stream in self.streams if isinstance(stream, SubtitleStream)]
|
||||
|
||||
def lyricStreams(self):
|
||||
""" Returns a list of :class:`~plexapi.media.SubtitleStream` objects in this MediaPart. """
|
||||
""" Returns a list of :class:`~plexapi.media.LyricStream` objects in this MediaPart. """
|
||||
return [stream for stream in self.streams if isinstance(stream, LyricStream)]
|
||||
|
||||
def setDefaultAudioStream(self, stream):
|
||||
|
@ -731,6 +731,18 @@ class Director(MediaTag):
|
|||
FILTER = 'director'
|
||||
|
||||
|
||||
@utils.registerPlexObject
|
||||
class Format(MediaTag):
|
||||
""" Represents a single Format media tag.
|
||||
|
||||
Attributes:
|
||||
TAG (str): 'Format'
|
||||
FILTER (str): 'format'
|
||||
"""
|
||||
TAG = 'Format'
|
||||
FILTER = 'format'
|
||||
|
||||
|
||||
@utils.registerPlexObject
|
||||
class Genre(MediaTag):
|
||||
""" Represents a single Genre media tag.
|
||||
|
@ -815,6 +827,18 @@ class Style(MediaTag):
|
|||
FILTER = 'style'
|
||||
|
||||
|
||||
@utils.registerPlexObject
|
||||
class Subformat(MediaTag):
|
||||
""" Represents a single Subformat media tag.
|
||||
|
||||
Attributes:
|
||||
TAG (str): 'Subformat'
|
||||
FILTER (str): 'subformat'
|
||||
"""
|
||||
TAG = 'Subformat'
|
||||
FILTER = 'subformat'
|
||||
|
||||
|
||||
@utils.registerPlexObject
|
||||
class Tag(MediaTag):
|
||||
""" Represents a single Tag media tag.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue