GNOME Bugzilla – Bug 537004
Notifications broken
Last modified: 2008-07-14 10:01:27 UTC
For several revisions now, track change notifications have not appeared. I poked around a bit in NotificationAreaService.cs and found that ServiceManager.PlayerEngine.CurrentTrack is null when it's time to create and show the notification, so no notification is created.
Actually that's not entirely correct...ServiceManager.PlayerEngine.CurrentTrack isn't being checked on the StartOfStream notification...will keep digging.
Created attachment 112284 [details] [review] Quick fix patch, works for me.
Reverting this commit also fixes the problem : http://svn.gnome.org/viewvc/banshee/trunk/banshee/src/Extensions/Banshee.NotificationArea/Banshee.NotificationArea/NotificationAreaService.cs?r1=4093&r2=4102 After this commit, OnPlayerEvent is never called for Iterate, so current_track never gets updated. As I don't know what the Iterate event really is, I won't dare to propose a patch... ;)
*** Bug 537119 has been marked as a duplicate of this bug. ***
Created attachment 112628 [details] [review] Fix notifications and cleanup This patch builds up on sandy's and goes a small step further by cleaning up unused code.
Committed, thanks guys!
*** Bug 542862 has been marked as a duplicate of this bug. ***