def volume_up(self):
    'Volume up the media player.'
    self._device.volume_up()
    self._volume = self._device.volume()
Volume up the media player.
def volume_up(self):
    
    self._device.volume_up()
    self._volume = self._device.volume()