mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-07 04:42:58 -05:00
[db] Fix adding urls to the queue that are not in the library
This commit is contained in:
4
src/db.c
4
src/db.c
@@ -4268,8 +4268,8 @@ db_queue_add_by_query(struct query_params *qp, char reshuffle, uint32_t item_id)
|
||||
if (qp->results == 0)
|
||||
{
|
||||
db_query_end(qp);
|
||||
ret = -1;
|
||||
goto end_transaction;
|
||||
db_transaction_end();
|
||||
return 0;
|
||||
}
|
||||
|
||||
while (((ret = db_query_fetch_file(qp, &dbmfi)) == 0) && (dbmfi.id))
|
||||
|
||||
Reference in New Issue
Block a user