mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-23 20:53:19 -05:00
[mpd] outputs: drop invalid outputsvolume key
This key confuses some clients, and it isn't emitted by MPD, nor
documented to exist:
9ff8e02e54/src/output/Print.cxx
It was added in bdb2c7493, but without explanation why it was added to
outputs command.
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
This commit is contained in:
parent
d57b7565da
commit
1019b777c3
@ -3214,8 +3214,7 @@ mpd_command_toggleoutput(struct mpd_command_output *out, struct mpd_command_inpu
|
||||
* outputname: Computer
|
||||
* plugin: alsa
|
||||
* outputenabled: 1
|
||||
* outputvolume: 50
|
||||
* https://mpd.readthedocs.io/en/latest/protocol.html#audio-output-devices
|
||||
* https://mpd.readthedocs.io/en/latest/protocol.html#command-outputs
|
||||
*/
|
||||
static void
|
||||
speaker_enum_cb(struct player_speaker_info *spk, void *arg)
|
||||
@ -3240,13 +3239,11 @@ speaker_enum_cb(struct player_speaker_info *spk, void *arg)
|
||||
"outputid: %u\n"
|
||||
"outputname: %s\n"
|
||||
"plugin: %s\n"
|
||||
"outputenabled: %d\n"
|
||||
"outputvolume: %d\n",
|
||||
"outputenabled: %d\n",
|
||||
param->nextid,
|
||||
spk->name,
|
||||
plugin,
|
||||
spk->selected,
|
||||
spk->absvol);
|
||||
spk->selected);
|
||||
param->nextid++;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user