mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-23 19:42:31 -05:00
Always try to start AirPlay when laudio fails (issue #86)
This commit is contained in:
parent
266d05f5eb
commit
b1903e4551
@ -2527,12 +2527,7 @@ playback_start(struct player_command *cmd)
|
|||||||
{
|
{
|
||||||
ret = laudio_open();
|
ret = laudio_open();
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
DPRINTF(E_LOG, L_PLAYER, "Could not open local audio, will try AirPlay\n");
|
||||||
DPRINTF(E_LOG, L_PLAYER, "Could not open local audio\n");
|
|
||||||
|
|
||||||
playback_abort();
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Start RAOP sessions on selected devices if needed */
|
/* Start RAOP sessions on selected devices if needed */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user