Re: [Tracker] haw to force index/reindex of one file/directory?

On 26/03/10 13:11, Carlos Garnacho wrote:

On vie, 2010-03-26 at 14:51 +0200, Alexey Fisher wrote:


Will it be possible to add this functionality? I need it for removable
storage. If user disable indexing by default i need to force it in some
situation, for example on cameras.

I agree that IndexRemovableMedia as it is may be a too rough cut for
your needs, but I don't think it should be possible to just let
applications bypass what the user told Tracker to do :).

We could perhaps have more fine grained configuration here to make a
difference between cameras, mp3 players, usb sticks and such.

I think the further down this road we go, the more erroneous and difficult the solution becomes. We currently use GIO's API to know about removable media. Right now there is no "type" information provided. Finding out if we have "optical discs" in the list of removable media was hard enough, separating mp3 players/usb sticks/etc is not possible AFAICS. With HAL this was more achievable, but GIO doesn't have device *type*.


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