After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 634686 - Connecting to radio stream doesn't work for the second time
Connecting to radio stream doesn't work for the second time
Status: VERIFIED FIXED
Product: banshee
Classification: Other
Component: Internet Radio
git master
Other Linux
: Normal major
: 2.0
Assigned To: Banshee Maintainers
Banshee Maintainers
: 635783 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-11-12 15:40 UTC by Robin Stocker
Modified: 2010-11-25 17:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
debug log and thread dump (18.08 KB, text/x-log)
2010-11-12 15:40 UTC, Robin Stocker
Details

Description Robin Stocker 2010-11-12 15:40:42 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
Comment 1 onip 2010-11-12 16:06:32 UTC
I have this too on mono-2.8 and gentoo
Comment 2 Robin Stocker 2010-11-12 16:30:41 UTC
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 ()
Comment 3 Gabriel Burt 2010-11-17 19:59:18 UTC
I can reproduce this, thanks for tracking it down, Robin.
Comment 4 Gabriel Burt 2010-11-23 22:12:26 UTC
Fixed in master
Comment 5 Robin Stocker 2010-11-24 10:31:37 UTC
Confirmed, thanks!
Comment 6 Bertrand Lorentz 2010-11-25 17:13:19 UTC
*** Bug 635783 has been marked as a duplicate of this bug. ***