mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 07:35:57 -05: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 */
|
||||
pos += status.pos_pl;
|
||||
|
||||
if (status.status == PLAY_STOPPED && pos > 0)
|
||||
pos--;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user