mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-29 00:23:23 -05:00
[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:
parent
8531a27235
commit
b5bb0bd7f2
@ -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
|
// 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
|
// and thus the update should be done as part of the command completion (which
|
||||||
// can better determine which type of listener event to use)
|
// 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
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user