diff --git a/plexapi/video.py b/plexapi/video.py index e32deca14..563969ff8 100644 --- a/plexapi/video.py +++ b/plexapi/video.py @@ -399,6 +399,7 @@ class Show(Video, ArtMixin, BannerMixin, PosterMixin, SplitMergeMixin, UnmatchMa roles (List<:class:`~plexapi.media.Role`>): List of role objects. similar (List<:class:`~plexapi.media.Similar`>): List of Similar objects. studio (str): Studio that created show (Di Bonaventura Pictures; 21 Laps Entertainment). + tagline (str): Show tag line. theme (str): URL to theme resource (/library/metadata//theme/). viewedLeafCount (int): Number of items marked as played in the show view. year (int): Year the show was released. @@ -427,6 +428,7 @@ def _loadData(self, data): self.roles = self.findItems(data, media.Role) self.similar = self.findItems(data, media.Similar) self.studio = data.attrib.get('studio') + self.tagline = data.attrib.get('tagline') self.theme = data.attrib.get('theme') self.viewedLeafCount = utils.cast(int, data.attrib.get('viewedLeafCount')) self.year = utils.cast(int, data.attrib.get('year')) diff --git a/tests/test_video.py b/tests/test_video.py index a2e617019..c537473f3 100644 --- a/tests/test_video.py +++ b/tests/test_video.py @@ -588,6 +588,7 @@ def test_video_Show_attrs(show): assert show._server._baseurl == utils.SERVER_BASEURL assert show.studio == "HBO" assert utils.is_string(show.summary, gte=100) + assert show.tagline is None assert utils.is_metadata(show.theme, contains="/theme/") if show.thumb: assert utils.is_thumb(show.thumb)