mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-09 13:39:47 -05:00
[raop] Add option to make an Airplay speaker permanent in the speaker list (issue #496)
This commit is contained in:
@@ -4592,6 +4592,12 @@ raop_device_cb(const char *name, const char *type, const char *domain, const cha
|
||||
{
|
||||
DPRINTF(E_LOG, L_RAOP, "Excluding AirPlay device '%s' as set in config\n", at_name);
|
||||
|
||||
return;
|
||||
}
|
||||
if (airplay && cfg_getbool(airplay, "permanent") && (port < 0))
|
||||
{
|
||||
DPRINTF(E_INFO, L_RAOP, "AirPlay device '%s' disappeared, but set as permanent in config\n", at_name);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user