[PATCH] tracker: do not rely on nie:isStoredAs as grilo key id



From: Lionel Landwerlin <lionel g landwerlin linux intel com>

The nie:isStoredAs is tagged as deprecated in the Nepomuk Information
Element ontology, and might not always provide the URN.

Signed-off-by: Lionel Landwerlin <lionel g landwerlin linux intel com>
---
 src/tracker/grl-tracker.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/tracker/grl-tracker.c b/src/tracker/grl-tracker.c
index 35354c4..5625cb2 100644
--- a/src/tracker/grl-tracker.c
+++ b/src/tracker/grl-tracker.c
@@ -839,7 +839,7 @@ setup_key_mappings (void)
                       "video");
 
   insert_key_mapping (GRL_METADATA_KEY_ID,
-                      "nie:isStoredAs(?urn)",
+                      "?urn",
                       "file");
 
   insert_key_mapping (GRL_METADATA_KEY_LAST_PLAYED,
-- 
1.7.2.3



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