[grilo-plugins] tracker: Update query() documentation
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] tracker: Update query() documentation
- Date: Wed, 19 Jan 2011 16:29:56 +0000 (UTC)
commit bb8a952883a8ac0d31a59c6fc043e19abb6644a6
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date: Wed Jan 19 17:28:34 2011 +0100
tracker: Update query() documentation
Grilo media type (rdf:type() or "grl#Box") must be the first column in
the query, and it doesn't need to be named.
Signed-off-by: Juan A. Suarez Romero <jasuarez igalia com>
src/tracker/grl-tracker.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/tracker/grl-tracker.c b/src/tracker/grl-tracker.c
index 73317d3..5d81bef 100644
--- a/src/tracker/grl-tracker.c
+++ b/src/tracker/grl-tracker.c
@@ -743,9 +743,9 @@ grl_tracker_source_supported_keys (GrlMetadataSource *source)
* Columns must be named with the Grilo key name that the column
* represent. Unnamed or unknown columns will be ignored.
*
- * For the case of media type, name to be used is "grilo-media-type". This is a
- * mandatory column. It must match with rdf:type() property. Types understood
- * are:
+ * First column must be the media type, and it does not need to be named. It
+ * must match with any value supported in rdf:type() property, or
+ * grilo#Box. Types understood are:
*
* <itemizedlist>
* <listitem>
@@ -784,7 +784,7 @@ grl_tracker_source_supported_keys (GrlMetadataSource *source)
*
* <informalexample>
* <programlisting>
- * SELECT rdf:type(?song) AS grilo-media-type
+ * SELECT rdf:type(?song)
* ?song AS id
* nie:title(?song) AS title
* nie:url(?song) AS url
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]