Can you point to the exact function to use in C? is this in tracker.h?
or in tracker-client.h?

and another more intelligent question: what does this functinon return
if the file is not in the tracker index because its directory is not
watched?

I have a ready nautilus extension (in C) that I can attach, as soon as
I implement the tag filling of NautilusFileInfo.

I'm glad if you can consider to review it for inclusion into tracker!
Thank you very much


On Mon, Jul 14, 2008 at 3:18 PM, Ivan Frade <[EMAIL PROTECTED]> wrote:
> Hi, yelo_3
>
>  There is no method "get_all_metadata (const gchar *uri)" in the API.
> Maybe we can consider to add it for next versions.
>
>  You can use:
>
> <method name="Get">
>        <arg type="s" name="service" direction="in" />
>        <arg type="s" name="id" direction="in" />
>        <arg type="as" name="keys" direction="in" />
>        <arg type="as" name="values" direction="out" />
> </method>
>
>  where:
>
> * "service" is the type of the file ("Music", "Video",...)
> * "id" is the uri
> * "keys" is an array of properties to ask.
>
>  for example:
>
> tracker.Get ("Music", "/home/yelo3/music/u2_one.mp3", ["Audio.Artist",
> "Audio.Title"])
>
>  will return:
>
> ["u2", "one"]
>
> Regards,
>
> Ivan
>
>
>
>
> El dom, 06-07-2008 a las 13:06 +0200, ext yelo_3 escribió:
>> I think that nautilus integration can be improved a lot, so I'm trying
>> to write a new extension that lets users view file metadata in the
>> "list view" of nautilus.
>> This is done filling files with attributes.
>> I started the project with the idea of showing media tags (artist,
>> album, ecc.) and so I had a look at totem's code. But now I realized
>> that maybe racker (or better to say XESAM) could be used for this aim.
>> So, does tracker have an interface of this type,
>>
>>  extract_metatags(const char* uri)
>>
>> which saves in a list the couples (MetaTag name, MetaTag value) so
>> they can be stored in nautilus file representations, and shown in the
>> detailed list view?
>>
>> Thank you very much for your help. I hope that this extension will be
>> ready soon. I have the "skeleton" ready, only the tag extract part is
>> missing.
>> _______________________________________________
>> tracker-list mailing list
>> [email protected]
>> http://mail.gnome.org/mailman/listinfo/tracker-list
>
>
_______________________________________________
tracker-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/tracker-list

Reply via email to