[dacp] Start playback from selected song in the playqueue if player is

stopped
This commit is contained in:
chme 2016-02-28 11:21:58 +01:00
parent d000ea571b
commit cb919515e4

View File

@ -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--;
}
}