output/print, command/player: print bool as integer
Fixes protocol breakage after commit 0440c41cba
libfmt is too clever for the MPD protocol!
Closes https://github.com/MusicPlayerDaemon/MPD/issues/1175
This commit is contained in:
@@ -40,7 +40,7 @@ printAudioDevices(Response &r, const MultipleOutputs &outputs)
|
||||
"outputenabled: {}\n"),
|
||||
i,
|
||||
ao.GetName(), ao.GetPluginName(),
|
||||
ao.IsEnabled());
|
||||
(unsigned)ao.IsEnabled());
|
||||
|
||||
for (const auto &[attribute, value] : ao.GetAttributes())
|
||||
r.Fmt(FMT_STRING("attribute: {}={}\n"),
|
||||
|
||||
Reference in New Issue
Block a user