Streaming internet radio


#1

Is it possible to stream this internet radio with the musicbox.
It doesn’t work for me. Somthing whrong with the url, my setup or is it not possible

http://icecast.vrtcdn.be/ra2lim-high.mp3


#2

I usually use the TuneIn extension. I’ll try to play with other options tonight.


#3

Nope, there is something about this stream that gstreamer0.10 does not like and it times out whilst trying to identify the audio stream:

2017-09-28 15:25:25,151 DEBUG [2821:HttpServer] mopidy.http.handlers: Received WebSocket message from 172.22.0.55: u'{"method":"core.tracklist.add","params":{"uris":["http://icecast.vrtcdn.be"]},"jsonrpc":"2.0","id":5490}'
2017-09-28 15:25:30,225 WARNING [2821:StreamBackend-3] mopidy.stream.actor: Problem looking up http://icecast.vrtcdn.be: Timeout after 5000ms
2017-09-28 15:25:30,228 DEBUG [2821:Core-13] mopidy.core.tracklist: Triggering event: tracklist_changed()
2017-09-28 15:25:30,230 DEBUG [2821:MainThread] mopidy.listener: Sending tracklist_changed to CoreListener: {}
2017-09-28 15:25:30,231 DEBUG [2821:HttpServer] mopidy.http.handlers: Sent WebSocket message to 172.22.0.55: '{"jsonrpc": "2.0", "id": 5490, "result": [{"track": {"__model__": "Track", "uri": "http://icecast.vrtcdn.be"}, "__model__": "TlTrack", "tlid": 0}]}'
2017-09-28 15:25:30,239 DEBUG [2821:HttpServer] mopidy.http.handlers: Received WebSocket message from 172.22.0.55: u'{"method":"core.playback.play","jsonrpc":"2.0","id":5491}'
2017-09-28 15:25:30,241 DEBUG [2821:Core-13] mopidy.core.playback: Changing state: stopped -> playing
2017-09-28 15:25:30,242 DEBUG [2821:Core-13] mopidy.core.playback: Triggering playback state change event
2017-09-28 15:25:30,254 DEBUG [2821:MainThread] mopidy.listener: Sending playback_state_changed to CoreListener: {'old_state': u'stopped', 'new_state': u'playing'}
2017-09-28 15:25:30,256 DEBUG [2821:Audio-2] mopidy.audio.gst: State change to GST_STATE_READY: result=GST_STATE_CHANGE_SUCCESS
2017-09-28 15:25:30,260 DEBUG [2821:StreamBackend-3] mopidy.stream.actor: Unwrapping stream from URI: http://icecast.vrtcdn.be
2017-09-28 15:25:30,261 DEBUG [2821:MainThread] mopidy.audio.gst: Got state-changed message: old=GST_STATE_NULL new=GST_STATE_READY pending=GST_STATE_VOID_PENDING
2017-09-28 15:25:35,268 DEBUG [2821:StreamBackend-3] mopidy.stream.actor: GStreamer failed scanning URI (http://icecast.vrtcdn.be): Timeout after 4999ms
2017-09-28 15:25:35,283 DEBUG [2821:StreamBackend-3] urllib3.connectionpool: Starting new HTTP connection (1): icecast.vrtcdn.be
2017-09-28 15:25:35,613 DEBUG [2821:StreamBackend-3] urllib3.connectionpool: http://icecast.vrtcdn.be:80 "GET / HTTP/1.1" 200 1144
2017-09-28 15:25:35,618 DEBUG [2821:StreamBackend-3] mopidy.stream.actor: Failed parsing URI (http://icecast.vrtcdn.be) as playlist; found potential stream.
2017-09-28 15:25:35,620 DEBUG [2821:SoftwareMixer-1] mopidy.mixer: Mixer event: volume_changed(volume=85)
2017-09-28 15:25:35,623 DEBUG [2821:MainThread] mopidy.listener: Sending volume_changed to MixerListener: {'volume': 85}
2017-09-28 15:25:35,627 DEBUG [2821:Audio-2] mopidy.audio.gst: Got source-setup: element=/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstSoupHTTPSrc:source (__main__.GstSoupHTTPSrc)
2017-09-28 15:25:35,631 DEBUG [2821:Audio-2] mopidy.audio.gst: State change to GST_STATE_PLAYING: result=GST_STATE_CHANGE_ASYNC
2017-09-28 15:25:35,634 DEBUG [2821:Core-13] mopidy.core.playback: Triggering track playback started event
2017-09-28 15:25:35,637 DEBUG [2821:MainThread] mopidy.listener: Sending track_playback_started to CoreListener: {'tl_track': TlTrack(tlid=0, track=Track(uri='http://icecast.vrtcdn.be'))}
2017-09-28 15:25:35,638 DEBUG [2821:HttpServer] mopidy.http.handlers: Sent WebSocket message to 172.22.0.55: '{"jsonrpc": "2.0", "id": 5491, "result": null}'
2017-09-28 15:25:35,641 DEBUG [2821:MainThread] mopidy.listener: Sending volume_changed to CoreListener: {'volume': 85}
2017-09-28 15:25:35,646 DEBUG [2821:HttpServer] mopidy.http.handlers: Received WebSocket message from 172.22.0.55: u'{"method":"core.tracklist.get_tl_tracks","jsonrpc":"2.0","id":44}'
2017-09-28 15:25:35,651 DEBUG [2821:HttpServer] mopidy.http.handlers: Sent WebSocket message to 172.22.0.55: '{"jsonrpc": "2.0", "id": 44, "result": [{"track": {"__model__": "Track", "uri": "http://icecast.vrtcdn.be"}, "__model__": "TlTrack", "tlid": 0}]}'
2017-09-28 15:25:35,654 DEBUG [2821:HttpServer] mopidy.http.handlers: Closed WebSocket connection from 172.22.0.55
2017-09-28 15:25:35,656 DEBUG [2821:HttpServer] mopidy.http.handlers: Received WebSocket message from 172.22.0.55: u'{"method":"core.tracklist.get_tracks","jsonrpc":"2.0","id":45}'
2017-09-28 15:25:35,659 DEBUG [2821:HttpServer] mopidy.http.handlers: Sent WebSocket message to 172.22.0.55: '{"jsonrpc": "2.0", "id": 45, "result": [{"__model__": "Track", "uri": "http://icecast.vrtcdn.be"}]}'
2017-09-28 15:25:35,661 DEBUG [2821:HttpServer] mopidy.http.handlers: Received WebSocket message from 172.22.0.55: u'{"method":"core.tracklist.get_tl_tracks","jsonrpc":"2.0","id":46}'
2017-09-28 15:25:35,664 DEBUG [2821:HttpServer] mopidy.http.handlers: Sent WebSocket message to 172.22.0.55: '{"jsonrpc": "2.0", "id": 46, "result": [{"track": {"__model__": "Track", "uri": "http://icecast.vrtcdn.be"}, "__model__": "TlTrack", "tlid": 0}]}'
2017-09-28 15:25:35,667 DEBUG [2821:HttpServer] mopidy.http.handlers: Received WebSocket message from 172.22.0.55: u'{"method":"core.tracklist.get_tracks","jsonrpc":"2.0","id":47}'
2017-09-28 15:25:35,669 DEBUG [2821:HttpServer] mopidy.http.handlers: Sent WebSocket message to 172.22.0.55: '{"jsonrpc": "2.0", "id": 47, "result": [{"__model__": "Track", "uri": "http://icecast.vrtcdn.be"}]}'
2017-09-28 15:25:35,671 DEBUG [2821:HttpServer] mopidy.http.handlers: Received WebSocket message from 172.22.0.55: u'{"method":"core.playback.stop","jsonrpc":"2.0","id":48}'
2017-09-28 15:25:35,675 DEBUG [2821:Audio-2] mopidy.audio.actor: Position query failed
2017-09-28 15:25:35,679 ERROR [2821:MainThread] mopidy.audio.gst: Resource not found.
2017-09-28 15:25:35,680 DEBUG [2821:MainThread] mopidy.audio.gst: gstsouphttpsrc.c(924): gst_soup_http_src_finished_cb (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstSoupHTTPSrc:source:
libsoup status code 1
2017-09-28 15:25:35,681 DEBUG [2821:Audio-2] mopidy.audio.gst: State change to GST_STATE_NULL: result=GST_STATE_CHANGE_SUCCESS
2017-09-28 15:25:35,682 DEBUG [2821:MainThread] mopidy.audio.gst: State change to GST_STATE_NULL: result=GST_STATE_CHANGE_SUCCESS
2017-09-28 15:25:35,683 DEBUG [2821:Core-13] mopidy.core.playback: Changing state: playing -> stopped
2017-09-28 15:25:35,684 DEBUG [2821:Core-13] mopidy.core.playback: Triggering playback state change event
2017-09-28 15:25:35,685 DEBUG [2821:Core-13] mopidy.core.playback: Triggering track playback ended event
2017-09-28 15:25:35,686 DEBUG [2821:MainThread] mopidy.listener: Sending playback_state_changed to CoreListener: {'old_state': u'playing', 'new_state': u'stopped'}
2017-09-28 15:25:35,688 DEBUG [2821:HttpServer] mopidy.http.handlers: Sent WebSocket message to 172.22.0.55: '{"jsonrpc": "2.0", "id": 48, "result": null}'
2017-09-28 15:25:35,691 DEBUG [2821:HttpServer] mopidy.http.handlers: Received WebSocket message from 172.22.0.55: u'{"method":"core.tracklist.clear","jsonrpc":"2.0","id":49}'
2017-09-28 15:25:35,693 DEBUG [2821:MainThread] mopidy.listener: Sending track_playback_ended to CoreListener: {'time_position': 0, 'tl_track': TlTrack(tlid=0, track=Track(uri='http://icecast.vrtcdn.be'))}
2017-09-28 15:25:35,695 DEBUG [2821:Core-13] mopidy.core.tracklist: Triggering event: tracklist_changed()
2017-09-28 15:25:35,699 DEBUG [2821:MainThread] mopidy.listener: Sending tracklist_changed to CoreListener: {}
2017-09-28 15:25:35,699 DEBUG [2821:HttpServer] mopidy.http.handlers: Sent WebSocket message to 172.22.0.55: '{"jsonrpc": "2.0", "id": 49, "result": null}'
2017-09-28 15:25:35,705 DEBUG [2821:HttpServer] mopidy.http.handlers: Received WebSocket message from 172.22.0.55: u'{"method":"core.tracklist.add","params":{"uris":["http://icecast.vrtcdn.be/ra2lim-high.mp3"]},"jsonrpc":"2.0","id":50}'
2017-09-28 15:25:40,715 WARNING [2821:StreamBackend-3] mopidy.stream.actor: Problem looking up http://icecast.vrtcdn.be/ra2lim-high.mp3: Timeout after 5000ms
2017-09-28 15:25:40,718 DEBUG [2821:Core-13] mopidy.core.tracklist: Triggering event: tracklist_changed()
2017-09-28 15:25:40,720 DEBUG [2821:MainThread] mopidy.listener: Sending tracklist_changed to CoreListener: {}
2017-09-28 15:25:40,721 DEBUG [2821:HttpServer] mopidy.http.handlers: Sent WebSocket message to 172.22.0.55: '{"jsonrpc": "2.0", "id": 50, "result": [{"track": {"__model__": "Track", "uri": "http://icecast.vrtcdn.be/ra2lim-high.mp3"}, "__model__": "TlTrack", "tlid": 1}]}'
2017-09-28 15:25:40,726 DEBUG [2821:HttpServer] mopidy.http.handlers: Received WebSocket message from 172.22.0.55: u'{"method":"core.playback.play","jsonrpc":"2.0","id":51}'
2017-09-28 15:25:40,729 DEBUG [2821:Core-13] mopidy.core.playback: Changing state: stopped -> playing
2017-09-28 15:25:40,729 DEBUG [2821:Core-13] mopidy.core.playback: Triggering playback state change event
2017-09-28 15:25:40,732 DEBUG [2821:MainThread] mopidy.listener: Sending playback_state_changed to CoreListener: {'old_state': u'stopped', 'new_state': u'playing'}
2017-09-28 15:25:40,734 DEBUG [2821:Audio-2] mopidy.audio.gst: State change to GST_STATE_READY: result=GST_STATE_CHANGE_SUCCESS
2017-09-28 15:25:40,737 DEBUG [2821:StreamBackend-3] mopidy.stream.actor: Unwrapping stream from URI: http://icecast.vrtcdn.be/ra2lim-high.mp3
2017-09-28 15:25:40,737 DEBUG [2821:MainThread] mopidy.audio.gst: Got state-changed message: old=GST_STATE_NULL new=GST_STATE_READY pending=GST_STATE_VOID_PENDING
2017-09-28 15:25:45,744 DEBUG [2821:StreamBackend-3] mopidy.stream.actor: GStreamer failed scanning URI (http://icecast.vrtcdn.be/ra2lim-high.mp3): Timeout after 4999ms

It does work on the latest version of Mopidy (and other players) but not Pi Musicbox v0.7.