[rygel] tracker: Container search invalid in SearchContainer
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] tracker: Container search invalid in SearchContainer
- Date: Fri, 24 Sep 2010 18:04:32 +0000 (UTC)
commit 1569fc15b53957fec9a530f31d625277de842875
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Thu Sep 23 18:16:12 2010 +0300
tracker: Container search invalid in SearchContainer
.../tracker/rygel-tracker-search-container.vala | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/tracker/rygel-tracker-search-container.vala b/src/plugins/tracker/rygel-tracker-search-container.vala
index 537af49..92f8d28 100644
--- a/src/plugins/tracker/rygel-tracker-search-container.vala
+++ b/src/plugins/tracker/rygel-tracker-search-container.vala
@@ -199,6 +199,11 @@ public class Rygel.Tracker.SearchContainer : Rygel.MediaContainer {
}
var rel_expression = expression as RelationalExpression;
+ if (rel_expression.operand1 == "upnp:class" &&
+ rel_expression.operand2.has_prefix (MediaContainer.UPNP_CLASS)) {
+ return null;
+ }
+
var query = new SelectionQuery.clone (this.query);
if (rel_expression.operand1 == "@parentID") {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]