[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…
Reference in New Issue