[dacp] Return the playqueue even if player is stopped

This commit is contained in:
chme 2016-02-28 10:31:57 +01:00
parent 07947a526d
commit d000ea571b

View File

@ -1564,9 +1564,6 @@ dacp_reply_playqueuecontents(struct evhttp_request *req, struct evbuffer *evbuf,
{ {
player_get_status(&status); player_get_status(&status);
/* Get queue and make songlist only if playing or paused */
if (status.status != PLAY_STOPPED)
{
queue = player_queue_get_bypos(abs(span)); queue = player_queue_get_bypos(abs(span));
if (queue) if (queue)
{ {
@ -1587,7 +1584,6 @@ dacp_reply_playqueuecontents(struct evhttp_request *req, struct evbuffer *evbuf,
queue_free(queue); queue_free(queue);
} }
} }
}
/* Playlists are hist, curr and main. */ /* Playlists are hist, curr and main. */
playlists = evbuffer_new(); playlists = evbuffer_new();