mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 05:59:45 -05:00
[dacp] Start playback from selected song in the playqueue if player is
stopped
This commit is contained in:
@@ -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--;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user