brianrobles204/Music-Integration — Issue #1: CommandError: [52@0] {setvol} problems setting volume 
Author: nickurak
Created: 2011-10-28 20:36:29+00:00
State: open

When running with mpDris2, adjusting the volume is broken:

CommandError: [52@0] {setvol} problems setting volume
JS LOG: Ignored exception from dbus method: Error: DBus error: org.freedesktop.DBus.Python.mpd.CommandError: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 702, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "./mpDris2", line 414, in Set
setter(value)
File "./mpDris2", line 345, in __set_volume
mpd_wrapper.setvol(int(value * 100))
File "/usr/lib/python2.7/dist-packages/mpd.py", line 167, in
return lambda *args: wrapper(command, args)
File "/usr/lib/python2.7/dist-packages/mpd.py", line 213, in _execute
return retval()
File "/usr/lib/python2.7/dist-packages/mpd.py", line 312, in _fetch_nothing
line = self._read_line()
File "/usr/lib/python2.7/dist-packages/mpd.py", line 233, in _read_line
raise CommandError(error)
CommandError: [52@0] {setvol} problems setting volume