[arch-general] mpd had removed relative volume functionality.
According to developer Cirrus, the relative volume adjusting method has been deprecated for 5 years. which is finally abandoned in the git version. (does anybody know why mpd in the repo hasn't been updated for sometime while stable 0.15.1 is around?) So anyone who uses mpc to bind a hotkey to shortcut such as "mpc volume -5" or "mpc volume +10" is likely to get a error from mpd. I've written a script to realize such functionality, please follow: http://dpaste.com/70907/ save it as script, chmod +x to it and put the relative values as parameter. E.g. "vol.sh +5" or "vol.sh -10" -- regards, b4283
Excerpts from b4283's message of Fri Jul 24 10:47:30 -0400 2009:
According to developer Cirrus, the relative volume adjusting method has been deprecated for 5 years. which is finally abandoned in the git version. (does anybody know why mpd in the repo hasn't been updated for sometime while stable 0.15.1 is around?)
So anyone who uses mpc to bind a hotkey to shortcut such as "mpc volume -5" or "mpc volume +10" is likely to get a error from mpd.
I've written a script to realize such functionality, please follow: http://dpaste.com/70907/ save it as script, chmod +x to it and put the relative values as parameter.
E.g. "vol.sh +5" or "vol.sh -10"
What?! That's so damn silly... why the heck would they deprecate that, it's so handy? Guess I'll have to update my mpd frontend/library... -- Andrei Thorp, Developer: Xandros Corp. (http://www.xandros.com)
On Fri, Jul 24, 2009 at 10:50, Andrei Thorp<garoth@gmail.com> wrote:
What?! That's so damn silly... why the heck would they deprecate that, it's so handy? Guess I'll have to update my mpd frontend/library...
Wow, that's surprising. I mean, I suppose that they're perhaps going with mpc as a bare-bones mpd client, but still...
Excerpts from Daenyth Blank's message of Fri Jul 24 11:36:15 -0400 2009:
On Fri, Jul 24, 2009 at 10:50, Andrei Thorp<garoth@gmail.com> wrote:
What?! That's so damn silly... why the heck would they deprecate that, it's so handy? Guess I'll have to update my mpd frontend/library...
Wow, that's surprising. I mean, I suppose that they're perhaps going with mpc as a bare-bones mpd client, but still...
Using the protocol directly is so much more fun / better :/ -- Andrei Thorp, Developer: Xandros Corp. (http://www.xandros.com)
On Fri, 24 Jul 2009 11:36:15 -0400 Daenyth Blank <daenyth+arch@gmail.com> wrote:
On Fri, Jul 24, 2009 at 10:50, Andrei Thorp<garoth@gmail.com> wrote:
What?! That's so damn silly... why the heck would they deprecate that, it's so handy? Guess I'll have to update my mpd frontend/library...
Wow, that's surprising. I mean, I suppose that they're perhaps going with mpc as a bare-bones mpd client, but still...
do i understand this correctly: you can still change the volume of mpd, but you can only specify absolute values? they left out the relative setting out of the protocol? Dieter
Excerpts from Dieter Plaetinck's message of Fri Jul 24 11:51:58 -0400 2009:
On Fri, 24 Jul 2009 11:36:15 -0400 Daenyth Blank <daenyth+arch@gmail.com> wrote:
On Fri, Jul 24, 2009 at 10:50, Andrei Thorp<garoth@gmail.com> wrote:
What?! That's so damn silly... why the heck would they deprecate that, it's so handy? Guess I'll have to update my mpd frontend/library...
Wow, that's surprising. I mean, I suppose that they're perhaps going with mpc as a bare-bones mpd client, but still...
do i understand this correctly: you can still change the volume of mpd, but you can only specify absolute values? they left out the relative setting out of the protocol?
That's what they're saying. Of course, you can probably query for current volume and implement relativity yourself. -- Andrei Thorp, Developer: Xandros Corp. (http://www.xandros.com)
participants (4)
-
Andrei Thorp
-
b4283
-
Daenyth Blank
-
Dieter Plaetinck