Hi Yelo,

El mié, 16-07-2008 a las 12:23 +0200, ext yelo_3 escribió:
> I'm really stuck with tracker api... Is there any documentation?

 At the moment, you can read the comments in the XML description of the
API:

http://svn.gnome.org/svn/tracker/trunk/data/tracker-introspect.xml


> I have 2 problems that I hope someone will solve:
> 1) GPtrArray * tracker_keywords_get_list (TrackerClient *client,
> ServiceType service, GError **error);   what does this function
> return?

<!--
 gets a list of all unique keywords/tags that are in use by the
specified service irrespective of the uri or id of the entity

Returns an array of string arrays in format [Keyword, KeywordCount] 
-->
<method name="GetList">


> 2) char ** tracker_keywords_get       (TrackerClient *client, ServiceType
> service, const char *id, GError **error);  I guess this function
> returns a NULL terminateed array of strings, which are the keywords
> that the file "id" has in the specified service. Unfortunately the
> first entry is always NULL. I've tested it with documents and with
> music files... What's wrong with this?

It gives you the keywords (tags) for a file. Have you use "_set"
previously to set some keywords?


Regards, 

Ivan

_______________________________________________
tracker-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/tracker-list

Reply via email to