mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-27 22:46:02 -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
94ce56d7b1
commit
75222cafd3
@ -3214,8 +3214,7 @@ mpd_command_toggleoutput(struct mpd_command_output *out, struct mpd_command_inpu
|
|||||||
* outputname: Computer
|
* outputname: Computer
|
||||||
* plugin: alsa
|
* plugin: alsa
|
||||||
* outputenabled: 1
|
* outputenabled: 1
|
||||||
* outputvolume: 50
|
* https://mpd.readthedocs.io/en/latest/protocol.html#command-outputs
|
||||||
* https://mpd.readthedocs.io/en/latest/protocol.html#audio-output-devices
|
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
speaker_enum_cb(struct player_speaker_info *spk, void *arg)
|
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"
|
"outputid: %u\n"
|
||||||
"outputname: %s\n"
|
"outputname: %s\n"
|
||||||
"plugin: %s\n"
|
"plugin: %s\n"
|
||||||
"outputenabled: %d\n"
|
"outputenabled: %d\n",
|
||||||
"outputvolume: %d\n",
|
|
||||||
param->nextid,
|
param->nextid,
|
||||||
spk->name,
|
spk->name,
|
||||||
plugin,
|
plugin,
|
||||||
spk->selected,
|
spk->selected);
|
||||||
spk->absvol);
|
|
||||||
param->nextid++;
|
param->nextid++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user