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

When running the video scanner it was triggered too early yes. The AnnouncementManager can only add the type automatically if you provide the CFileItemPtr of the newly added item with the call to Announce() which is not the case the way it is now. If you can do that I won't be against this change (although I still think it's an abuse of CAnnouncementManager but maybe I'm alone on this).