def media_pause(self):
    'Send media pause command to media player.'
    self._playing = False
    self.send_key('KEY_PAUSE')
Send media pause command to media player.
def media_pause(self):
    
    self._playing = False
    self.send_key('KEY_PAUSE')