mirror of
https://github.com/owntone/owntone-server.git
synced 2025-03-31 01:33:44 -04:00
[dacp] Start playback from selected song in the playqueue if player is
stopped
This commit is contained in:
parent
d000ea571b
commit
cb919515e4
@ -1068,6 +1068,9 @@ dacp_reply_cue_play(struct evhttp_request *req, struct evbuffer *evbuf, char **u
|
|||||||
{
|
{
|
||||||
/* Play from Up Next queue */
|
/* Play from Up Next queue */
|
||||||
pos += status.pos_pl;
|
pos += status.pos_pl;
|
||||||
|
|
||||||
|
if (status.status == PLAY_STOPPED && pos > 0)
|
||||||
|
pos--;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user