[player] Send notification on output added/removed

This commit is contained in:
chme 2018-12-29 08:45:20 +01:00
parent d9f00a3ab6
commit 2a76e888f0

View File

@ -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;
}