diff --git a/upnpsoap.c b/upnpsoap.c index 3fee379..81bb823 100644 --- a/upnpsoap.c +++ b/upnpsoap.c @@ -214,6 +214,8 @@ GetSearchCapabilities(struct upnphttp * h, const char * action) "upnp:artist," "upnp:class," "upnp:genre," + "@id," + "@parentID," "@refID" "" ""; @@ -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;