[Tracker] Tracker DBus API



Hello, 

I am a Google Summer of Code student working for Maemo on the project "Porting Canola to Maemo 5". One of the aims of the project is to integrate Canola with Tracker.
Most of the things are currently working, but I have some problems making some queries. Maemo5 and N900 are using Tracker (0.6.95, the dbus method Tracker.GetVersion() returns 695). 
How can I count the number of rows that will be returned by a Tracker.Search.Query() call? Currently I'm using Tracker.Metadata.GetCount() method but it fails in some situations. For example to get the number of images I use GetCount('Images', 'File:Name', '') but it will return a wrong number if there are files with the same name in different folders. Is there any field that holds the fullpath that I should use instead of File:Name? 

Thank you,
--
Andrei Mirestean
+40 742319390


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