[rygel] tracker: Use nfo:fileName as alternative title
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] tracker: Use nfo:fileName as alternative title
- Date: Fri, 27 Jul 2012 21:25:45 +0000 (UTC)
commit 23877452a25b08b560fc374cbbb44f3a90d269ef
Author: Jens Georg <mail jensge org>
Date: Sat Jul 14 18:26:19 2012 +0200
tracker: Use nfo:fileName as alternative title
This guarantees that we always have a title available, regardless
whether tracker was compiled with --enable-guarantee-metadata or not.
.../tracker/rygel-tracker-key-chain-map.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/tracker/rygel-tracker-key-chain-map.vala b/src/plugins/tracker/rygel-tracker-key-chain-map.vala
index ba24066..9ae0264 100644
--- a/src/plugins/tracker/rygel-tracker-key-chain-map.vala
+++ b/src/plugins/tracker/rygel-tracker-key-chain-map.vala
@@ -49,7 +49,7 @@ public class Rygel.Tracker.KeyChainMap : Object {
"FILTER (?o IN (nfo:FileDataObject, " +
"nfo:RemoteDataObject)) }), true)");
add_key_chain ("fileName", "nfo:fileName");
- add_key_chain ("dc:title", "nie:title");
+ this.add_alternative ("dc:title", "nie:title", "nfo:fileName");
add_key_chain ("dlnaProfile", "nmm:dlnaProfile");
add_key_chain ("mimeType", "nie:mimeType");
this.add_alternative ("res size", "nfo:fileSize", "nie:byteSize");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]