mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 23:25:56 -05:00
[spotify] Fix return of playback_eot if spotify returns an error
This commit is contained in:
parent
09e35abb83
commit
21d2c95eeb
@ -1068,7 +1068,8 @@ playback_eot(void *arg, int *retval)
|
||||
if (SP_ERROR_OK != err)
|
||||
{
|
||||
DPRINTF(E_LOG, L_SPOTIFY, "Playback end of track failed: %s\n", fptr_sp_error_message(err));
|
||||
return -1;
|
||||
*retval = -1;
|
||||
return COMMAND_END;
|
||||
}
|
||||
|
||||
g_state = SPOTIFY_STATE_STOPPING;
|
||||
|
Loading…
Reference in New Issue
Block a user