ae847994fc81ac7aebdf5274b46b22f68935f7ad,homeassistant/components/media_player/mpd.py,MpdDevice,media_artist,#MpdDevice#,146

Before Change


    @property
    def media_artist(self):
         Artist of current playing media. (Music track only) 
        current_song = self.client.currentsong()
        return current_song["artist"]

    @property
    def media_album_name(self):
         Album of current playing media. (Music track only) 

After Change


    @property
    def media_artist(self):
         Artist of current playing media. (Music track only) 
        return self.currentsong.get("artist")

    @property
    def media_album_name(self):
         Album of current playing media. (Music track only) 
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: home-assistant/home-assistant
Commit Name: ae847994fc81ac7aebdf5274b46b22f68935f7ad
Time: 2015-06-10
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/media_player/mpd.py
Class Name: MpdDevice
Method Name: media_artist


Project Name: home-assistant/home-assistant
Commit Name: ae847994fc81ac7aebdf5274b46b22f68935f7ad
Time: 2015-06-10
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/media_player/mpd.py
Class Name: MpdDevice
Method Name: media_album_name


Project Name: home-assistant/home-assistant
Commit Name: ae847994fc81ac7aebdf5274b46b22f68935f7ad
Time: 2015-06-10
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/media_player/mpd.py
Class Name: MpdDevice
Method Name: media_duration