diff --git a/plexapi/base.py b/plexapi/base.py index d0d0a27c..3ec8a05c 100644 --- a/plexapi/base.py +++ b/plexapi/base.py @@ -316,8 +316,6 @@ class PlexPartialObject(PlexObject): search result for a movie often only contain a portion of the attributes a full 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 def isPartialObject(self): diff --git a/plexapi/video.py b/plexapi/video.py index 2891b401..45c7fb4d 100644 --- a/plexapi/video.py +++ b/plexapi/video.py @@ -83,7 +83,7 @@ class Movie(Playable, Video): """ Represents a single Movie. Attributes: - TAG (str): 'Diectory' + TAG (str): 'Video' TYPE (str): 'movie' art (str): Key to movie artwork (/library/metadata//art/) 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. writers (List<:class:`~plexapi.media.Writer`>): List of writers objects. chapters (List<:class:`~plexapi.media.Chapter`>): List of Chapter objects. + similar (List<:class:`~plexapi.media.Similar`>): List of Similar objects. """ TAG = 'Video' TYPE = 'movie' @@ -213,7 +214,7 @@ class Show(Video): """ Represents a single Show (including all seasons and episodes). Attributes: - TAG (str): 'Diectory' + TAG (str): 'Directory' TYPE (str): 'show' art (str): Key to show artwork (/library/metadata//art/) banner (str): Key to banner artwork (/library/metadata//art/) @@ -232,6 +233,7 @@ class Show(Video): year (int): Year the show was released. genres (List<:class:`~plexapi.media.Genre`>): List of genre objects. roles (List<:class:`~plexapi.media.Role`>): List of role objects. + similar (List<:class:`~plexapi.media.Similar`>): List of Similar objects. """ TAG = 'Directory' TYPE = 'show' @@ -351,7 +353,7 @@ class Season(Video): """ Represents a single Show Season (including all episodes). Attributes: - TAG (str): 'Diectory' + TAG (str): 'Directory' TYPE (str): 'season' leafCount (int): Number of episodes in season. index (int): Season number. @@ -451,7 +453,7 @@ class Episode(Playable, Video): """ Represents a single Shows Episode. Attributes: - TAG (str): 'Diectory' + TAG (str): 'Video' TYPE (str): 'episode' art (str): Key to episode artwork (/library/metadata//art/) chapterSource (str): Unknown (media).