mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-07 04:42:58 -05:00
[jsonapi] Add non-library uris to the queue
This commit is contained in:
@@ -1617,8 +1617,13 @@ jsonapi_reply_queue_tracks_add(struct httpd_request *hreq)
|
||||
queue_tracks_add_playlist(id);
|
||||
}
|
||||
else
|
||||
{
|
||||
ret = library_queue_add(uri);
|
||||
if (ret != LIBRARY_OK)
|
||||
{
|
||||
DPRINTF(E_LOG, L_WEB, "Invalid uri '%s'\n", uri);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
while ((uri = strtok(NULL, ",")));
|
||||
|
||||
Reference in New Issue
Block a user