[rygel] tracker: Only consider objects with uris



commit c38b94bd790b49190c6a1d636d6f5c9ed5a21d68
Author: Jens Georg <mail jensge org>
Date:   Tue Sep 13 07:48:41 2011 +0200

    tracker: Only consider objects with uris

 .../tracker/rygel-tracker-selection-query.vala     |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/tracker/rygel-tracker-selection-query.vala b/src/plugins/tracker/rygel-tracker-selection-query.vala
index f17ee9a..5598ac1 100644
--- a/src/plugins/tracker/rygel-tracker-selection-query.vala
+++ b/src/plugins/tracker/rygel-tracker-selection-query.vala
@@ -31,7 +31,9 @@ public class Rygel.Tracker.SelectionQuery : Query {
                                          ITEM_VARIABLE + ")) ||" +
                                          " nmm:uPnPShared(" +
                                          ITEM_VARIABLE +
-                                         ") = true)";
+                                         ") = true) && " +
+                                         "(BOUND(nie:url(" +
+                                         ITEM_VARIABLE + ")))";
     private const string STRICT_SHARED_FILTER = "(BOUND(nmm:dlnaProfile(" +
                                                 ITEM_VARIABLE + ")))";
     private const string AVAILABLE_FILTER = "(tracker:available(" +



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]