SearchContainer maps search for "upnp:class" to all its children if
"upnp:class" in question is that of its item factory.
int offset,
int max_count) {
if (expression.operand1 == "upnp:class" &&
- expression.operand2.has_prefix (MediaContainer.UPNP_CLASS)) {
+ !this.item_factory.upnp_class.has_prefix (expression.operand2)) {
return null;
}
if (!expression.compare_string (this.id)) {
return null;
}
- } else {
+ } else if (expression.operand1 != "upnp:class") {
var filter = create_filter_for_child (expression);
if (filter != null) {
query.filters.insert (0, filter);