mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 22:10:15 -05:00
[conf] Add speaker level option to disable AirPlay 1
This commit is contained in:
@@ -4431,6 +4431,12 @@ raop_device_cb(const char *name, const char *type, const char *domain, const cha
|
||||
{
|
||||
DPRINTF(E_INFO, L_RAOP, "AirPlay device '%s' disappeared, but set as permanent in config\n", device_name);
|
||||
|
||||
return;
|
||||
}
|
||||
if (devcfg && cfg_getbool(devcfg, "raop_disable"))
|
||||
{
|
||||
DPRINTF(E_LOG, L_RAOP, "Disabling AirPlay 1 (RAOP) for device '%s' as set in config\n", device_name);
|
||||
|
||||
return;
|
||||
}
|
||||
if (devcfg && cfg_getstr(devcfg, "nickname"))
|
||||
|
||||
Reference in New Issue
Block a user