Re: [Tracker] couple of fixes



On 9/21/06, Jamie McCracken <jamiemcc blueyonder co uk> wrote:
Fabien VALLON wrote:

>>
> I can do tracker-metadata-ogg.c maybye  tracker-metadata-mp3.c and
> tracker-metadata-flac.c
>
> How to integrate that in trackerd, where should I look at ?


if we are going to allow writing as well as reading then we would move
it in process into trackerd itself (providing it does not leak memory
like some of the libextractor stuff)

The interface should be as follows:

GHashTable * tracker_metadata_ogg_extract (const char *filename);

gboolean     tracker_metadata_ogg_supports_writing ();

Should this take a metadata name?  For example, Doc.Title would be
writable, but not Doc.PageCount.

gboolean      tracker_metadata_ogg_write (const char *filename,
GHashTable *table);

in above cases, GHashTable would store tracker's metadata name -> value

let me know if you need more info.

--
Mr Jamie McCracken
http://jamiemcc.livejournal.com/

_______________________________________________
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]