Support @parentID in SearchCriteria.
This commit is contained in:
parent
dda5b1c19d
commit
f119cfe1a6
@ -214,6 +214,8 @@ GetSearchCapabilities(struct upnphttp * h, const char * action)
|
||||
"upnp:artist,"
|
||||
"upnp:class,"
|
||||
"upnp:genre,"
|
||||
"@id,"
|
||||
"@parentID,"
|
||||
"@refID"
|
||||
"</SearchCaps>"
|
||||
"</u:%sResponse>";
|
||||
@ -1418,6 +1420,12 @@ parse_search_criteria(const char *str)
|
||||
s += 3;
|
||||
continue;
|
||||
}
|
||||
else if (strncmp(s, "@parentID", 9) == 0)
|
||||
{
|
||||
strcatf(&criteria, "PARENT_ID");
|
||||
s += 9;
|
||||
continue;
|
||||
}
|
||||
else
|
||||
charcat(&criteria, *s);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user