mplayer step_property volume doesn't really work as intended
This commit is contained in:
parent
3a5d7c7cba
commit
ed4b7e1da9
1 changed files with 4 additions and 4 deletions
|
@ -253,14 +253,14 @@ class MediaMplayerPlugin(MediaPlugin):
|
|||
self._exec('quit')
|
||||
|
||||
@action
|
||||
def voldown(self, step=100.0):
|
||||
def voldown(self, step=10.0):
|
||||
""" Volume down by (default: 10)% """
|
||||
return self.step_property('volume', -step)
|
||||
return self._exec('volume', -step*10)
|
||||
|
||||
@action
|
||||
def volup(self, step=100.0):
|
||||
def volup(self, step=10.0):
|
||||
""" Volume up by (default: 10)% """
|
||||
return self.step_property('volume', step)
|
||||
return self._exec('volume', step*10)
|
||||
|
||||
@action
|
||||
def back(self, offset=60.0):
|
||||
|
|
Loading…
Reference in a new issue