Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 324085 - media-sound/radiotray should depend on media-plugins/gst-plugins-soup
Summary: media-sound/radiotray should depend on media-plugins/gst-plugins-soup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-15 09:10 UTC by Dean Matzkov
Modified: 2010-06-16 09:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dean Matzkov 2010-06-15 09:10:32 UTC
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...
Comment 1 Ján Bednár 2010-06-16 06:18:51 UTC
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.
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2010-06-16 09:39:53 UTC
Fixed

Thanks for reporting