mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 15:45:56 -05:00
[player] Send notification on output added/removed
This commit is contained in:
parent
d9f00a3ab6
commit
2a76e888f0
@ -1310,6 +1310,8 @@ device_add(void *arg, int *retval)
|
||||
|
||||
device_list_sort();
|
||||
|
||||
listener_notify(LISTENER_SPEAKER);
|
||||
|
||||
*retval = 0;
|
||||
return COMMAND_END;
|
||||
}
|
||||
@ -1364,6 +1366,8 @@ device_remove_family(void *arg, int *retval)
|
||||
|
||||
outputs_device_free(remove);
|
||||
|
||||
listener_notify(LISTENER_SPEAKER);
|
||||
|
||||
*retval = 0;
|
||||
return COMMAND_END;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user