After emerging media-sound/radiotray for the first time, one would expect it to Just Work. But it seems that if you don't have media-plugins/gst-plugins-soup installed, you'll just get a bunch of error messages if you try to play any radio stations. It should depend on gst-plugins-soup so that it works out-of-the-box. Here's a snippet of radiotray's output without gst-plugins-soup installed: Metadata obtained... Couldn't read content-type. Maybe direct stream... 'content-type' Received MESSAGE_STATE_CHANGED Received MESSAGE_STATE_CHANGED Received MESSAGE_STATE_CHANGED Received MESSAGE_ERROR Error: Your GStreamer installation is missing a plug-in. Error: gsturidecodebin.c(991): gen_source_element (): /GstPlayBin2:player/GstURIDecodeBin:uridecodebin20 Exiting...
You are correct. Without gst-plugins-soup I got the same error. So I installed it and I there are still some more dependencies missing. This is what I get trying to play rockradio1 stream (http://87.117.202.97:8000): $ radiotray AttributeError: 'module' object has no attribute 'Element' Loading configuration... /home/johny_b/.local/share/radiotray/bookmarks.xml /home/johny_b/.local/share/radiotray/config.xml PLS playlist decoder M3U playlist decoder ASX-familiy playlist decoder XSPF playlist decoder ASF playlist decoder RAM playlist decoder Could not bind to Gnome for Media Keys Requesting stream... http://87.117.202.97:8000 ##>ICY 200 OK icy-noti<## Metadata obtained... Couldn't read content-type. Maybe direct stream... 'content-type' Play http://87.117.202.97:8000 Requesting stream... http://87.117.202.97:8000 ##>ICY 200 OK icy-noti<## Metadata obtained... Couldn't read content-type. Maybe direct stream... 'content-type' Received MESSAGE_STATE_CHANGED Received MESSAGE_STATE_CHANGED Received MESSAGE_STATE_CHANGED Received MESSAGE_STATE_CHANGED Received MESSAGE_STATE_CHANGED Received MESSAGE_STATE_CHANGED Received MESSAGE_STATE_CHANGED Received MESSAGE_STATE_CHANGED Received MESSAGE_STATE_CHANGED Received MESSAGE_STATE_CHANGED Received MESSAGE_STATE_CHANGED Received MESSAGE_ERROR Error: There is no codec present that can handle the stream's type. Error: gstdecodebin2.c(1130): analyze_new_pad (): /GstPlayBin2:player/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20: No decoder to handle media type 'application/x-icy' Please add also this dependency/dependencies to radiotray.
Fixed Thanks for reporting