diff --git a/upnpsoap.c b/upnpsoap.c index 744a01b..daffb4d 100644 --- a/upnpsoap.c +++ b/upnpsoap.c @@ -659,6 +659,10 @@ parse_sort_criteria(char *sortCriteria, int *error) { strcatf(&str, "d.ALBUM"); } + else if( strcasecmp(item, "path") == 0 ) + { + strcatf(&str, "d.PATH"); + } else { DPRINTF(E_ERROR, L_HTTP, "Unhandled SortCriteria [%s]\n", item);