e4548066692fa3cda87e638ed9760563a80cb2d5,homeassistant/components/media_player/plex.py,PlexClient,media_series_title,#PlexClient#,152

Before Change


    def media_series_title(self):
         Series title of current playing media. (TV Show only)
        if self._media is not None:
            series_title = self.server.library.getByKey(
                self.media_content_id).show().title
            return series_title
        return None

    @property

After Change


            return self.session.seasons()[0].index

    @property
    def media_series_title(self):
         Series title of current playing media. (TV Show only)
        from plexapi.video import Show
        if isinstance(self.session, Show):
            return self.session.grandparentTitle

    @property
    def media_episode(self):
         Episode of current playing media. (TV Show only) 
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 8

Instances


Project Name: home-assistant/home-assistant
Commit Name: e4548066692fa3cda87e638ed9760563a80cb2d5
Time: 2015-10-01
Author: adrien.brault@gmail.com
File Name: homeassistant/components/media_player/plex.py
Class Name: PlexClient
Method Name: media_series_title


Project Name: home-assistant/home-assistant
Commit Name: e4548066692fa3cda87e638ed9760563a80cb2d5
Time: 2015-10-01
Author: adrien.brault@gmail.com
File Name: homeassistant/components/media_player/plex.py
Class Name: PlexClient
Method Name: media_episode


Project Name: home-assistant/home-assistant
Commit Name: e4548066692fa3cda87e638ed9760563a80cb2d5
Time: 2015-10-01
Author: adrien.brault@gmail.com
File Name: homeassistant/components/media_player/plex.py
Class Name: PlexClient
Method Name: media_title


Project Name: home-assistant/home-assistant
Commit Name: e4548066692fa3cda87e638ed9760563a80cb2d5
Time: 2015-10-01
Author: adrien.brault@gmail.com
File Name: homeassistant/components/media_player/plex.py
Class Name: PlexClient
Method Name: media_image_url