Re: [Tracker] How does tracker recognize the mime type of a new file?
- From: Michele Tameni <michele tameni it>
- To: "tracker-list gnome org" <tracker-list gnome org>
- Subject: Re: [Tracker] How does tracker recognize the mime type of a new file?
- Date: Mon, 6 Dec 2010 08:45:35 +0100
If I remember correctly the mime type is recognised by the miner fs
using g_file_info_get_content_type [1] from glib.
Look at src/miner/fs/tracker-miner-files.c .
Michele
[1] http://library.gnome.org/devel/gio/2.25/GFileInfo.html#g-file-info-get-content-type
On Mon, Dec 6, 2010 at 8:15 AM, Lin, Mengdong <mengdong lin intel com> wrote:
When a new file is added, how does tracker recognize its mime type (eg. mpeg/audio)? So that
tracker-extractor can find a matching extractor for this type.
Could somebody tell me which module do this work and how?
Thanks
Amand
_______________________________________________
tracker-list mailing list
tracker-list gnome org
http://mail.gnome.org/mailman/listinfo/tracker-list
--
michele tameni
http://www.amdplanet.it
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]