Remove recalibration at volume=0 with NadMixer. It's just way to frustrating.

This commit is contained in:
Stein Magnus Jodal 2010-08-14 17:49:17 +02:00
parent 97ff6bf042
commit 4205a3d49b

View File

@ -22,10 +22,7 @@ class NadMixer(BaseMixer):
currently used by this mixer.
Sadly, this means that if you use the remote control to change the volume
on the amplifier, Mopidy will no longer report the correct volume. To
recalibrate the mixer, set the volume to 0 through Mopidy. This will reset
the amplifier to a known state, including powering on the device, selecting
the configured speakers and input sources.
on the amplifier, Mopidy will no longer report the correct volume.
**Dependencies**
@ -51,8 +48,6 @@ class NadMixer(BaseMixer):
def _set_volume(self, volume):
self._volume = volume
if volume == 0:
self._pipe.send({'command': 'reset_device'})
self._pipe.send({'command': 'set_volume', 'volume': volume})