Re: [Tracker] tracker & nautilus integration += metatags
- From: Ivan Frade <ivan frade nokia com>
- To: ext yelo_3 <yelo_3 yahoo it>
- Cc: Tracker-List <tracker-list gnome org>
- Subject: Re: [Tracker] tracker & nautilus integration += metatags
- Date: Mon, 14 Jul 2008 16:18:04 +0300
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
tracker-list gnome org
http://mail.gnome.org/mailman/listinfo/tracker-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]