[jsonapi] Add non-library uris to the queue
This commit is contained in:
parent
7bab990eb3
commit
843fbeb066
|
@ -1618,7 +1618,12 @@ jsonapi_reply_queue_tracks_add(struct httpd_request *hreq)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
DPRINTF(E_LOG, L_WEB, "Invalid uri '%s'\n", uri);
|
ret = library_queue_add(uri);
|
||||||
|
if (ret != LIBRARY_OK)
|
||||||
|
{
|
||||||
|
DPRINTF(E_LOG, L_WEB, "Invalid uri '%s'\n", uri);
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
while ((uri = strtok(NULL, ",")));
|
while ((uri = strtok(NULL, ",")));
|
||||||
|
|
Loading…
Reference in New Issue