[grilo-plugins] tracker: Add support for season/episode keys
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] tracker: Add support for season/episode keys
- Date: Wed, 23 Mar 2011 10:16:24 +0000 (UTC)
commit 0620ee06342dc6e6feba334aa170158d0be18b4d
Author: Lionel Landwerlin <lionel g landwerlin linux intel com>
Date: Wed Mar 23 11:02:21 2011 +0100
tracker: Add support for season/episode keys
Signed-off-by: Juan A. Suarez Romero <jasuarez igalia com>
src/media/tracker/grl-tracker-utils.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/media/tracker/grl-tracker-utils.c b/src/media/tracker/grl-tracker-utils.c
index 9f520cb..f58832b 100644
--- a/src/media/tracker/grl-tracker-utils.c
+++ b/src/media/tracker/grl-tracker-utils.c
@@ -146,6 +146,14 @@ grl_tracker_setup_key_mappings (void)
insert_key_mapping (GRL_METADATA_KEY_WIDTH,
"nfo:width(?urn)",
"video");
+
+ insert_key_mapping (GRL_METADATA_KEY_SEASON,
+ "nmm:season(?urn)",
+ "video");
+
+ insert_key_mapping (GRL_METADATA_KEY_EPISODE,
+ "nmm:episodeNumber(?urn)",
+ "video");
}
tracker_grl_sparql_t *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]