[grilo-plugins] tracker: Export file size
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] tracker: Export file size
- Date: Wed, 19 Mar 2014 11:31:51 +0000 (UTC)
commit 5a487a50834cab26d46a748519fdf44f1c196745
Author: Bastien Nocera <hadess hadess net>
Date: Tue Mar 18 18:01:13 2014 +0100
tracker: Export file size
https://bugzilla.gnome.org/show_bug.cgi?id=629002
src/tracker/grl-tracker-utils.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker/grl-tracker-utils.c b/src/tracker/grl-tracker-utils.c
index e429f18..3eb2efb 100644
--- a/src/tracker/grl-tracker-utils.c
+++ b/src/tracker/grl-tracker-utils.c
@@ -198,6 +198,11 @@ grl_tracker_setup_key_mappings (void)
"nfo:entryCounter(?urn)",
"directory");
+ insert_key_mapping (GRL_METADATA_KEY_SIZE,
+ NULL,
+ "nfo:fileSize(?urn)",
+ "file");
+
insert_key_mapping_with_setter (GRL_METADATA_KEY_MODIFICATION_DATE,
"nfo:fileLastModified",
"nfo:fileLastModified(?urn)",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]