[grilo-plugins/wip/carlosg/tracker3: 28/37] tracker3: Use URNs as media IDs



commit 016e83c0e25fa524b63e071852e39c4a6473b35b
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sun May 24 15:42:15 2020 +0200

    tracker3: Use URNs as media IDs
    
    tracker:id() is an internal detail, it sounds better not to expose
    it in public API.

 src/tracker3/grl-tracker-utils.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker3/grl-tracker-utils.c b/src/tracker3/grl-tracker-utils.c
index b78dab53..00310960 100644
--- a/src/tracker3/grl-tracker-utils.c
+++ b/src/tracker3/grl-tracker-utils.c
@@ -401,8 +401,8 @@ grl_tracker_setup_key_mappings (void)
 
   insert_key_mapping (GRL_METADATA_KEY_ID,
                       "id",
-                      "tracker:id",
-                      "tracker:id(?urn)",
+                      "id",
+                      "?urn",
                       "file",
                       GRL_TYPE_FILTER_ALL);
 


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