[grilo-plugins] tracker: avoid displaying video files twice in browse
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] tracker: avoid displaying video files twice in browse
- Date: Tue, 8 Mar 2011 08:40:35 +0000 (UTC)
commit 4d3ff0e03205ace5103be58eb41e600280d58ec1
Author: Lionel Landwerlin <lionel g landwerlin linux intel com>
Date: Fri Mar 4 15:50:34 2011 +0000
tracker: avoid displaying video files twice in browse
Signed-off-by: Lionel Landwerlin <lionel g landwerlin linux intel com>
src/media/tracker/grl-tracker-api.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/media/tracker/grl-tracker-api.c b/src/media/tracker/grl-tracker-api.c
index 9fc59ee..6a4f9d7 100644
--- a/src/media/tracker/grl-tracker-api.c
+++ b/src/media/tracker/grl-tracker-api.c
@@ -94,7 +94,7 @@ GRL_LOG_DOMAIN_STATIC(tracker_result_log_domain);
"LIMIT %i"
#define TRACKER_BROWSE_FILESYSTEM_ROOT_REQUEST \
- "SELECT rdf:type(?urn) %s " \
+ "SELECT DISTINCT rdf:type(?urn) %s " \
"WHERE " \
"{ " \
"{ ?urn a nfo:Folder } UNION " \
@@ -109,7 +109,7 @@ GRL_LOG_DOMAIN_STATIC(tracker_result_log_domain);
"LIMIT %i"
#define TRACKER_BROWSE_FILESYSTEM_REQUEST \
- "SELECT rdf:type(?urn) %s " \
+ "SELECT DISTINCT rdf:type(?urn) %s " \
"WHERE " \
"{ " \
"{ ?urn a nfo:Folder } UNION " \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]