61ef2683c512b010cfdf11b879446922d26307c3,homeassistant/components/media_player/gpmdp.py,GPMDP,media_previous_track,#GPMDP#,276

Before Change



    def media_previous_track(self):
        Send media_previous command to media player.
        websocket = self.get_ws()
        if websocket is None:
            return
        websocket.send("{"namespace": "playback", "method": "rewind"}")

    def media_play(self):
        Send media_play command to media player.
        websocket = self.get_ws()

After Change



    def media_previous_track(self):
        Send media_previous command to media player.
        self.send_gpmdp_msg("playback", "rewind", False)

    def media_play(self):
        Send media_play command to media player.
        self.send_gpmdp_msg("playback", "playPause", False)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 7

Instances


Project Name: home-assistant/home-assistant
Commit Name: 61ef2683c512b010cfdf11b879446922d26307c3
Time: 2016-08-23
Author: nkgilley@gmail.com
File Name: homeassistant/components/media_player/gpmdp.py
Class Name: GPMDP
Method Name: media_previous_track


Project Name: home-assistant/home-assistant
Commit Name: 61ef2683c512b010cfdf11b879446922d26307c3
Time: 2016-08-23
Author: nkgilley@gmail.com
File Name: homeassistant/components/media_player/gpmdp.py
Class Name: GPMDP
Method Name: media_previous_track


Project Name: home-assistant/home-assistant
Commit Name: 61ef2683c512b010cfdf11b879446922d26307c3
Time: 2016-08-23
Author: nkgilley@gmail.com
File Name: homeassistant/components/media_player/gpmdp.py
Class Name: GPMDP
Method Name: media_pause


Project Name: home-assistant/home-assistant
Commit Name: 61ef2683c512b010cfdf11b879446922d26307c3
Time: 2016-08-23
Author: nkgilley@gmail.com
File Name: homeassistant/components/media_player/gpmdp.py
Class Name: GPMDP
Method Name: media_next_track


Project Name: home-assistant/home-assistant
Commit Name: 61ef2683c512b010cfdf11b879446922d26307c3
Time: 2016-08-23
Author: nkgilley@gmail.com
File Name: homeassistant/components/media_player/gpmdp.py
Class Name: GPMDP
Method Name: media_play