mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-14 16:25:03 -05:00
[dacp] Return the playqueue even if player is stopped
This commit is contained in:
parent
07947a526d
commit
d000ea571b
@ -1564,9 +1564,6 @@ dacp_reply_playqueuecontents(struct evhttp_request *req, struct evbuffer *evbuf,
|
||||
{
|
||||
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));
|
||||
if (queue)
|
||||
{
|
||||
@ -1587,7 +1584,6 @@ dacp_reply_playqueuecontents(struct evhttp_request *req, struct evbuffer *evbuf,
|
||||
queue_free(queue);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Playlists are hist, curr and main. */
|
||||
playlists = evbuffer_new();
|
||||
|
Loading…
Reference in New Issue
Block a user