Re: [Tracker] How to get newly added audio files?



Le Thu, 14 Apr 2011 10:37:27 +0200,
Philip Van Hoof <philip codeminded be> a écrit :

On Thu, 2011-04-14 at 17:19 +0900, simon hong wrote:

There are two arrays, inserted and deleted. The inserted triples are
in inserted and the deleted triples are in deleted.

An overwrite means that there's one in inserted and one in deleted
(one complete graphupdated signal is transactional).

So in that usecase you'd probably have to filter on the
tracker:available predicate in the GraphUpdated signal...


When I insert and remove usb stick, GraphUpdated signals from
tracker-store is delivered.
How can I differentiate insert from remove ?






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