[rygel] tracker: Assume UPnP-created items to be shared
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] tracker: Assume UPnP-created items to be shared
- Date: Wed, 13 Oct 2010 17:31:28 +0000 (UTC)
commit c441f0cf43c92cfe89f7cf8fa0dbadaeee8ad951
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed Oct 13 20:26:18 2010 +0300
tracker: Assume UPnP-created items to be shared
We create items on demand from UPnP clients so its logical to assume that the
client would want it to be available on the UPnP network after creation.
.../tracker/rygel-tracker-insertion-query.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/tracker/rygel-tracker-insertion-query.vala b/src/plugins/tracker/rygel-tracker-insertion-query.vala
index c8452ab..736f7bf 100644
--- a/src/plugins/tracker/rygel-tracker-insertion-query.vala
+++ b/src/plugins/tracker/rygel-tracker-insertion-query.vala
@@ -36,6 +36,7 @@ public class Rygel.Tracker.InsertionQuery : Query {
triplets.add (new QueryTriplet (QUERY_ID, "a", category));
triplets.add (new QueryTriplet (QUERY_ID, "a", "nie:DataObject"));
triplets.add (new QueryTriplet (QUERY_ID, "a", "nfo:FileDataObject"));
+ triplets.add (new QueryTriplet (QUERY_ID, "nmm:uPnPShared", "true"));
triplets.add (new QueryTriplet (QUERY_ID,
"nie:mimeType",
"\"" + item.mime_type + "\""));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]