xbmc/xbmc — comment on commit 227d928d93ff88db3004bc7369bf4a0cbd51132c
File:  line 0
By Montellese:

I have to say I don't like this for three reasons:

1. CAnnouncementManager is meant for providing 3rd party clients with event information and not for communicating stuff in core (but you didn't introduce that)
2. The way it is done now, the OnUpdate announcement doesn't provide the "type" property anymore. Because of that JSON-RPC clients will get a notification that the item with the "id" xyz has changed but it could be a movie, a tvshow, an episode, a music video or whatever but there's no way anymore for the announcement receivers to know which one it really was. The "old" AnnounceUpdate (that was removed) provided this information.
3. JSON-RPC will soon be extended to provide functionality to update meta data of database items and if one client changes something the other clients need to know about those changes as well. But if those changes don't go through the VideoInfoScanner (which would be a rather stupid implementation) the announcement won't be sent anymore.

I (once again) vote for not "abusing" CAnnouncementManager for this kind of XBMC internal update and use a proper GUI_MSG_FOO as it is done with GUI_MSG_UPDATE_ITEM or any of the other GUI messages and revert this so that the JSON-RPC announcements work as they were intended to.