Skip to content

Commit 30ec806

Browse files
committed
fix some docs.
1 parent eb337ce commit 30ec806

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

plexapi/base.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,6 @@ def isFullObject(self):
316316
search result for a movie often only contain a portion of the attributes a full
317317
object (main url) for that movie contain.
318318
"""
319-
#print(self._details_key == self._initpath)
320-
#return self._details_key == self._initpath or not self.key or self.key == self._initpath
321319
return not self.key or self.key == self._initpath
322320

323321
def isPartialObject(self):

plexapi/video.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class Movie(Playable, Video):
8383
""" Represents a single Movie.
8484
8585
Attributes:
86-
TAG (str): 'Diectory'
86+
TAG (str): 'Video'
8787
TYPE (str): 'movie'
8888
art (str): Key to movie artwork (/library/metadata/<ratingkey>/art/<artid>)
8989
audienceRating (float): Audience rating (usually from Rotten Tomatoes).
@@ -112,6 +112,7 @@ class Movie(Playable, Video):
112112
roles (List<:class:`~plexapi.media.Role`>): List of role objects.
113113
writers (List<:class:`~plexapi.media.Writer`>): List of writers objects.
114114
chapters (List<:class:`~plexapi.media.Chapter`>): List of Chapter objects.
115+
similar (List<:class:`~plexapi.media.Similar`>): List of Similar objects.
115116
"""
116117
TAG = 'Video'
117118
TYPE = 'movie'
@@ -213,7 +214,7 @@ class Show(Video):
213214
""" Represents a single Show (including all seasons and episodes).
214215
215216
Attributes:
216-
TAG (str): 'Diectory'
217+
TAG (str): 'Directory'
217218
TYPE (str): 'show'
218219
art (str): Key to show artwork (/library/metadata/<ratingkey>/art/<artid>)
219220
banner (str): Key to banner artwork (/library/metadata/<ratingkey>/art/<artid>)
@@ -232,6 +233,7 @@ class Show(Video):
232233
year (int): Year the show was released.
233234
genres (List<:class:`~plexapi.media.Genre`>): List of genre objects.
234235
roles (List<:class:`~plexapi.media.Role`>): List of role objects.
236+
similar (List<:class:`~plexapi.media.Similar`>): List of Similar objects.
235237
"""
236238
TAG = 'Directory'
237239
TYPE = 'show'
@@ -351,7 +353,7 @@ class Season(Video):
351353
""" Represents a single Show Season (including all episodes).
352354
353355
Attributes:
354-
TAG (str): 'Diectory'
356+
TAG (str): 'Directory'
355357
TYPE (str): 'season'
356358
leafCount (int): Number of episodes in season.
357359
index (int): Season number.
@@ -451,7 +453,7 @@ class Episode(Playable, Video):
451453
""" Represents a single Shows Episode.
452454
453455
Attributes:
454-
TAG (str): 'Diectory'
456+
TAG (str): 'Video'
455457
TYPE (str): 'episode'
456458
art (str): Key to episode artwork (/library/metadata/<ratingkey>/art/<artid>)
457459
chapterSource (str): Unknown (media).

0 commit comments

Comments
 (0)