GNOME Bugzilla – Bug 128106
internet radio connection should be asynchronous
Last modified: 2006-02-03 10:30:55 UTC
There should be some information in the status bar when connecting to internet radio stations. Since it takes some time to hook up, user tends to ponder "hey what's going on, did I do something wrong?". Also, if there is net congestion, it is nice to know that is the case, as opposed to transmission failure studio-side. At least there is no such info for xine backend.
*** Bug 135515 has been marked as a duplicate of this bug. ***
*** Bug 141397 has been marked as a duplicate of this bug. ***
*** Bug 148160 has been marked as a duplicate of this bug. ***
*** Bug 165993 has been marked as a duplicate of this bug. ***
*** Bug 160024 has been marked as a duplicate of this bug. ***
*** Bug 320479 has been marked as a duplicate of this bug. ***
copy me
*** Bug 326162 has been marked as a duplicate of this bug. ***
With GStreamer 0.10, the process of actually connecting to the stream should be asynchronous. However retrieving the playlist to determine the stream's location isn't. The totem_pl_parser_parse call in rb_shell_player_open_location needs to be performed asynchronously. This is made non-trivial because there is a chain of functions which want to know whether it was successful. Rather than changing all of that, we might be able to simply return TRUE for iradio, and report errors in the same way as for stream errors.
Created attachment 58204 [details] [review] patch This runs the playlist parser in a new thread, and makes iradio connection asynchronous (at least on 0.10).
Patch committed to cvs, so connecting to a station will not block the UI with GStreamer 0.10. This would be very difficult to fix with GStreamer 0.8, because state changes are synchronous and it isn't safe to run it in another thread. I'm marking this FIXED since it is for gst 0.10, and it is very doubtful to every get fixed for 0.8. (you can re-open if you really disagree)