Re: [Tracker] Bug 509601: make tracker-extractor modular



Hi!,

On Wed, 2008-01-30 at 15:40 +0100, Luca Ferretti wrote:
Il giorno lun, 28/01/2008 alle 12.20 +0100, Carlos Garnacho ha scritto:
Hi!,

In bug #509601 there's a patch attached to make extractors GModules, so
tracker-extractor loads them at startup instead of having a fixed array,

Only startup? :-(

I mean, could be really awesome load them when "installed" (and maybe
provide a per-user directory, like gstreamer plugins). Something like:

      * I found a new module to extract data from XYZ format ("Hey, I've
        some XYZ files in my home, this is useful!")
      * I copy it in $HOME/.tracker/extractors/ ("Damn! I've no
        superuser privileges")
      * Tracker Applet shows an alert like

        <b>New data extractor available</b>
        
        A new extractor for files XYZ. Tracker will
        scan your data searching for XYZ files and
        will extract info from them
        
                                             ( OK )

BTW this means that, ideally, we could disable some extractors

Not like that, but you're already getting immediate availability from
the plugins, as trackerd is currently launching a new instance of
tracker-extract per-file (it prints the metadata and exits). So the next
time tracker-extract is run, it will already find the new plugin.

Regards,
   Carlos





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