Re: [Tracker] How does tracker recognize the mime type of a new file?

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 .



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?

tracker-list mailing list
tracker-list gnome org

michele tameni

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]