Re: [Tracker] Question on tracking changes..



Sri Ramkrishna wrote:
So I'm working a bit on a rhythmbox backend using tracker.  I want to
know when tracker has detected a new music file.  Is there some kind of
DBus signal I can listen to for this?  How would I do that?


not at the moment - I have disabled signals until we have live query support.


With live query support you will be able to listen by filtering on the live_query_id (usig dbus match rules) to get new hits and also deletes for any particular query (any dbus method that has a live_query_id parameter)

Implementing live query support is not hard but I am doing structural changes at the moment and would like to get these completed before adding new stuff.

I am experimenting with replacing mysql's fulltext stuff with a much faster and more scalable hash table using the super fast QDBM (http://qdbm.sourceforge.net/spex.html). As Hash tables are O(1) in performance it means it will be super fast no matter how much stuff you index and it also means I can add custom stuff like stemming and custom ranking.

If above is successful it could also pave the way to replace mysql with the lighter and faster sqlite (as we are only using mysql for its full text support)

--
Mr Jamie McCracken
http://jamiemcc.livejournal.com/




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