diff --git a/docs/changelog.rst b/docs/changelog.rst index 135da15a..6e6d0bde 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -41,6 +41,7 @@ Bug fix release. - MPD: Add ``volume`` command that was reintroduced, though still as a deprecated command, in MPD 0.18 and is in use by some clients like mpc. + (Fixes: :issue:`1393`, PR: :issue:`1397`) - Proxy: Handle case where :confval:`proxy/port` is either missing from config or set to an empty string. (PR: :issue:`1371`) diff --git a/mopidy/mpd/protocol/playback.py b/mopidy/mpd/protocol/playback.py index c9dcc341..48aaae2c 100644 --- a/mopidy/mpd/protocol/playback.py +++ b/mopidy/mpd/protocol/playback.py @@ -440,7 +440,7 @@ def volume(context, change): Note: ``volume`` is deprecated, use ``setvol`` instead. """ if change < -100 or change > 100: - raise exceptions.MpdArgError('Invalid volume value', command='volume') + raise exceptions.MpdArgError('Invalid volume value') old_volume = context.core.mixer.get_volume().get() if old_volume is None: