mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-10 06:04:15 +00:00
fix some docs.
This commit is contained in:
parent
eb337ce585
commit
30ec806536
2 changed files with 6 additions and 6 deletions
|
@ -316,8 +316,6 @@ class PlexPartialObject(PlexObject):
|
||||||
search result for a movie often only contain a portion of the attributes a full
|
search result for a movie often only contain a portion of the attributes a full
|
||||||
object (main url) for that movie contain.
|
object (main url) for that movie contain.
|
||||||
"""
|
"""
|
||||||
#print(self._details_key == self._initpath)
|
|
||||||
#return self._details_key == self._initpath or not self.key or self.key == self._initpath
|
|
||||||
return not self.key or self.key == self._initpath
|
return not self.key or self.key == self._initpath
|
||||||
|
|
||||||
def isPartialObject(self):
|
def isPartialObject(self):
|
||||||
|
|
|
@ -83,7 +83,7 @@ class Movie(Playable, Video):
|
||||||
""" Represents a single Movie.
|
""" Represents a single Movie.
|
||||||
|
|
||||||
Attributes:
|
Attributes:
|
||||||
TAG (str): 'Diectory'
|
TAG (str): 'Video'
|
||||||
TYPE (str): 'movie'
|
TYPE (str): 'movie'
|
||||||
art (str): Key to movie artwork (/library/metadata/<ratingkey>/art/<artid>)
|
art (str): Key to movie artwork (/library/metadata/<ratingkey>/art/<artid>)
|
||||||
audienceRating (float): Audience rating (usually from Rotten Tomatoes).
|
audienceRating (float): Audience rating (usually from Rotten Tomatoes).
|
||||||
|
@ -112,6 +112,7 @@ class Movie(Playable, Video):
|
||||||
roles (List<:class:`~plexapi.media.Role`>): List of role objects.
|
roles (List<:class:`~plexapi.media.Role`>): List of role objects.
|
||||||
writers (List<:class:`~plexapi.media.Writer`>): List of writers objects.
|
writers (List<:class:`~plexapi.media.Writer`>): List of writers objects.
|
||||||
chapters (List<:class:`~plexapi.media.Chapter`>): List of Chapter objects.
|
chapters (List<:class:`~plexapi.media.Chapter`>): List of Chapter objects.
|
||||||
|
similar (List<:class:`~plexapi.media.Similar`>): List of Similar objects.
|
||||||
"""
|
"""
|
||||||
TAG = 'Video'
|
TAG = 'Video'
|
||||||
TYPE = 'movie'
|
TYPE = 'movie'
|
||||||
|
@ -213,7 +214,7 @@ class Show(Video):
|
||||||
""" Represents a single Show (including all seasons and episodes).
|
""" Represents a single Show (including all seasons and episodes).
|
||||||
|
|
||||||
Attributes:
|
Attributes:
|
||||||
TAG (str): 'Diectory'
|
TAG (str): 'Directory'
|
||||||
TYPE (str): 'show'
|
TYPE (str): 'show'
|
||||||
art (str): Key to show artwork (/library/metadata/<ratingkey>/art/<artid>)
|
art (str): Key to show artwork (/library/metadata/<ratingkey>/art/<artid>)
|
||||||
banner (str): Key to banner artwork (/library/metadata/<ratingkey>/art/<artid>)
|
banner (str): Key to banner artwork (/library/metadata/<ratingkey>/art/<artid>)
|
||||||
|
@ -232,6 +233,7 @@ class Show(Video):
|
||||||
year (int): Year the show was released.
|
year (int): Year the show was released.
|
||||||
genres (List<:class:`~plexapi.media.Genre`>): List of genre objects.
|
genres (List<:class:`~plexapi.media.Genre`>): List of genre objects.
|
||||||
roles (List<:class:`~plexapi.media.Role`>): List of role objects.
|
roles (List<:class:`~plexapi.media.Role`>): List of role objects.
|
||||||
|
similar (List<:class:`~plexapi.media.Similar`>): List of Similar objects.
|
||||||
"""
|
"""
|
||||||
TAG = 'Directory'
|
TAG = 'Directory'
|
||||||
TYPE = 'show'
|
TYPE = 'show'
|
||||||
|
@ -351,7 +353,7 @@ class Season(Video):
|
||||||
""" Represents a single Show Season (including all episodes).
|
""" Represents a single Show Season (including all episodes).
|
||||||
|
|
||||||
Attributes:
|
Attributes:
|
||||||
TAG (str): 'Diectory'
|
TAG (str): 'Directory'
|
||||||
TYPE (str): 'season'
|
TYPE (str): 'season'
|
||||||
leafCount (int): Number of episodes in season.
|
leafCount (int): Number of episodes in season.
|
||||||
index (int): Season number.
|
index (int): Season number.
|
||||||
|
@ -451,7 +453,7 @@ class Episode(Playable, Video):
|
||||||
""" Represents a single Shows Episode.
|
""" Represents a single Shows Episode.
|
||||||
|
|
||||||
Attributes:
|
Attributes:
|
||||||
TAG (str): 'Diectory'
|
TAG (str): 'Video'
|
||||||
TYPE (str): 'episode'
|
TYPE (str): 'episode'
|
||||||
art (str): Key to episode artwork (/library/metadata/<ratingkey>/art/<artid>)
|
art (str): Key to episode artwork (/library/metadata/<ratingkey>/art/<artid>)
|
||||||
chapterSource (str): Unknown (media).
|
chapterSource (str): Unknown (media).
|
||||||
|
|
Loading…
Reference in a new issue