Look for a query or filter parameter in DAAP queries
The filter is passed in the query parameter if it's a search, but if it's a browse it's in the filter parameter.
This commit is contained in:
parent
7642b1c6d7
commit
28350ae9a6
|
@ -621,6 +621,9 @@ get_query_params(struct evkeyvalq *query, DBQUERYINFO *qi)
|
|||
qi->index_type = indexTypeSub;
|
||||
|
||||
param = evhttp_find_header(query, "query");
|
||||
if (!param)
|
||||
param = evhttp_find_header(query, "filter");
|
||||
|
||||
if (param)
|
||||
{
|
||||
DPRINTF(E_DBG, L_DAAP, "DAAP browse query filter: %s\n", param);
|
||||
|
|
Loading…
Reference in New Issue