[Tracker] Implement source notification through TrackerNotifier
Submitted by Carlos Garnacho
Assigned to gri..@..e.bugs
I'm attaching a patch implementing source notification in the tracker plugin through the TrackerNotifier API which is already in master.
- Less code
- Events are grouped before emitting, less signal emission overhead
- GrlMedias notified upon always get the right type, this means grl_media_is_* works on every case, including GRL_CONTENT_REMOVED conditions.
- per datasource notification is not implemented. In honesty I don't know what that is for, nor who configures that, but sounds slightly misguided to me. This might be a good bug report to figure out what to do with it.
PS: I'm sure there's opened bugs around notification in the tracker plugin, but couldn't find any now... Hence this new one.