mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-11 14:30:20 -05:00
[player] Don't stop/clear queue on speaker 'prevent-playback' or 'busy'
When 'prevent-playback' or 'busy' is sent by a single playing speaker, we just want to pause playback and not clear the queue Closes #1553
This commit is contained in:
@@ -3705,7 +3705,7 @@ airplay_device_cb(const char *name, const char *type, const char *domain, const
|
||||
}
|
||||
}
|
||||
|
||||
DPRINTF(E_DBG, L_AIRPLAY, "Event for AirPlay device '%s' (port %d, id %" PRIx64 ")\n", name, port, id);
|
||||
DPRINTF(E_DBG, L_AIRPLAY, "Event for AirPlay device '%s' (port %d, id %" PRIx64 ", Active-Remote %" PRIu32 ")\n", name, port, id, (uint32_t)id);
|
||||
|
||||
devcfg = cfg_gettsec(cfg, "airplay", name);
|
||||
if (devcfg && cfg_getbool(devcfg, "exclude"))
|
||||
|
||||
@@ -4080,7 +4080,7 @@ raop_device_cb(const char *name, const char *type, const char *domain, const cha
|
||||
}
|
||||
device_name++;
|
||||
|
||||
DPRINTF(E_DBG, L_RAOP, "Event for AirPlay device '%s' (port %d, id %" PRIx64 ")\n", device_name, port, id);
|
||||
DPRINTF(E_DBG, L_RAOP, "Event for AirPlay device '%s' (port %d, id %" PRIx64 ", Active-Remote %" PRIu32 ")\n", device_name, port, id, (uint32_t)id);
|
||||
|
||||
devcfg = cfg_gettsec(cfg, "airplay", device_name);
|
||||
if (devcfg && cfg_getbool(devcfg, "exclude"))
|
||||
|
||||
Reference in New Issue
Block a user