[rygel] tracker: Save title when adding item to store
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] tracker: Save title when adding item to store
- Date: Tue, 26 Oct 2010 13:40:00 +0000 (UTC)
commit 4739a941081e739ae26b864ae19aae00c1eb6f6d
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Tue Oct 19 19:37:13 2010 +0300
tracker: Save title when adding item to store
.../tracker/rygel-tracker-insertion-query.vala | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/tracker/rygel-tracker-insertion-query.vala b/src/plugins/tracker/rygel-tracker-insertion-query.vala
index 3514d9a..5d29a7e 100644
--- a/src/plugins/tracker/rygel-tracker-insertion-query.vala
+++ b/src/plugins/tracker/rygel-tracker-insertion-query.vala
@@ -38,6 +38,9 @@ public class Rygel.Tracker.InsertionQuery : Query {
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:title",
+ "\"" + item.title + "\""));
+ triplets.add (new QueryTriplet (QUERY_ID,
"nie:mimeType",
"\"" + item.mime_type + "\""));
if (item.dlna_profile != null) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]