GNOME Bugzilla – Bug 634686
Connecting to radio stream doesn't work for the second time
Last modified: 2010-11-25 17:13:19 UTC
Created attachment 174330 [details] debug log and thread dump Steps to reproduce: 1. Start banshee 2. Play an internet radio stream 3. Press stop 4. Play an internet radio stream Actual results: Banshee displays "Contacting..." but the radio station never plays. Banshee CPU usage is 350 %. The GUI stays responsive though. Then playing a file from the library works. But when trying the radio station again, it hangs again. What is also interesting is that when I play a file after starting banshee and then try to play a radio stream, it doesn't even try to connect, just doesn't work. Expected results: Banshee should play the radio stream as it did the first time. Environment: Ubuntu 10.10 Mono JIT compiler version 2.6.7 (Debian 2.6.7-3ubuntu1) gstreamer 0.10.30 gstreamer0.10-ffmpeg 0.10.11
I have this too on mono-2.8 and gentoo
Result of bisect: 128e7d831ce7d61e56f07afe0521e7ffc57343fe is the first bad commit commit 128e7d831ce7d61e56f07afe0521e7ffc57343fe Author: Gabriel Burt <gabriel.burt@gmail.com> Date: Tue Nov 2 15:43:38 2010 -0500 [PlayerEngine] Fix repeating tracks (bgo#633554) diff --git a/src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngine.cs b/src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngine.cs index 343f3e6..f34febc 100644 --- a/src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngine.cs +++ b/src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngine.cs @@ -73,7 +73,11 @@ namespace Banshee.MediaEngine public virtual void Close (bool fullShutdown) { - Reset (); + if (fullShutdown) { + Reset (); + } else { + OnStateChanged (idle_state); + } } public virtual void Dispose ()
I can reproduce this, thanks for tracking it down, Robin.
Fixed in master
Confirmed, thanks!
*** Bug 635783 has been marked as a duplicate of this bug. ***