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

Re: [Tracker] General file stat info



On Tue, 2007-07-10 at 21:51 +0200, tracker-list wrote:
> Hi
> 
> Can i get more details in the command line search results. All I get now is
> the filename only or (with -d) the filename and mime-type. I would really
> like to avoid using a C interface because my own project SkoleSYS is
> entirely written in python to avoid having to compile/link to several
> platforms.
> 
> What I need right now is to fetch filename, size, owner, group etc.. 
> 1. Can I get more detail if I checkout the newest revision?
> 2. Is it possible to connect to the back-end database and safely do queries
> to get the data I need? (I am aware of the fact that database designs
> change over time so the solution isn't long lasting)
> 

python has excellent dbus bindings so best way is to call the methods
directly over it

the query method takes in a list of metadata that you want to output so
yes (1) is very easy





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