[player] send volume event when a device fails - without this the webui does not know that an output device failing, volume/selected status remains

This commit is contained in:
whatdoineed2do/Ray 2022-04-29 22:00:03 +01:00
parent 8531a27235
commit b5bb0bd7f2

View File

@ -1506,7 +1506,7 @@ device_streaming_cb(struct output_device *device, enum output_device_state statu
// We don't do this in the other cb's because they are triggered by a command
// and thus the update should be done as part of the command completion (which
// can better determine which type of listener event to use)
status_update(player_state, LISTENER_SPEAKER);
status_update(player_state, LISTENER_SPEAKER | LISTENER_VOLUME);
}
static void