[PATCH 1/7] tracker: add support for directories in tracker's results
- From: llandwerlin gmail com
- To: grilo-list gnome org
- Subject: [PATCH 1/7] tracker: add support for directories in tracker's results
- Date: Tue, 18 Jan 2011 18:31:55 +0000
From: Lionel Landwerlin <lionel g landwerlin linux intel com>
Signed-off-by: Lionel Landwerlin <lionel g landwerlin linux intel com>
---
src/tracker/grl-tracker.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/tracker/grl-tracker.c b/src/tracker/grl-tracker.c
index 956341d..714ca42 100644
--- a/src/tracker/grl-tracker.c
+++ b/src/tracker/grl-tracker.c
@@ -46,6 +46,7 @@ GRL_LOG_DOMAIN_STATIC(tracker_log_domain);
#define RDF_TYPE_AUDIO "nmm#MusicPiece"
#define RDF_TYPE_IMAGE "nmm#Photo"
#define RDF_TYPE_VIDEO "nmm#Video"
+#define RDF_TYPE_FOLDER "nfo#Folder"
#define RDF_TYPE_BOX "grilo#Box"
/* ---- Plugin information --- */
@@ -208,6 +209,8 @@ build_grilo_media (const gchar *rdf_type)
media = grl_media_box_new ();
} else if (g_str_has_suffix (rdf_single_type[i], RDF_TYPE_ALBUM)) {
media = grl_media_box_new ();
+ } else if (g_str_has_suffix (rdf_single_type[i], RDF_TYPE_FOLDER)) {
+ media = grl_media_box_new ();
} else if (g_str_has_suffix (rdf_single_type[i], RDF_TYPE_BOX)) {
media = grl_media_box_new ();
}
--
1.7.2.3
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]