[Tracker] [python] Search over DBus



Hi all,
I was wondering if there is any reference on how to use Tracker with 
Python. 

What I'm doing right now is:

print self._tracker_files.GetByServiceType(-1, "Music", 0, 20)

but this always results in:

dbus.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method
"GetByServiceType" with signature "isii" on interface
"org.freedesktop.Tracker.Files" doesn't exist

But I can't understand why. I looked at the tracker deskbar-handler
for example and I saw it passes "reply_handler" and "error_handler"
parameters to dbus call, but if I do the same I get nothing at all,
no errors nor results.

Thank you all in advance,
Federico




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