Author Topic: Streaming Online Radio Feeds  (Read 8347 times)

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2443
  • Any Bugs in site?
Re: Streaming Online Radio Feeds
« Reply #105 on: March 05, 2011, 08:26:22 PM »
I also have a Minime2010.12 system running. I have now fully updated this and installed {radiotray} only ie yet no {task-multimedia}, and starting from konsole:

Code: [Select]
[gert@localhost ~]$ radiotray
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
Loading configuration...
/home/gert/.local/share/radiotray/bookmarks.xml
/home/gert/.local/share/radiotray/config.xml
PLS playlist decoder
M3U playlist decoder
ASX-familiy playlist decoder
XSPF playlist decoder
ASF playlist decoder
RAM playlist decoder
Using url timeout = 100
Traceback (most recent call last):
  File "/usr/bin/radiotray", line 15, in <module>
    radiotray.main(sys.argv[1:])
  File "/usr/lib/python2.6/site-packages/radiotray/radiotray.py", line 33, in main
    RadioTray()
  File "/usr/lib/python2.6/site-packages/radiotray/RadioTray.py", line 58, in __init__
    self.audio = AudioPlayerGStreamer(self.mediator, self.cfg_provider, self.log)
  File "/usr/lib/python2.6/site-packages/radiotray/AudioPlayerGStreamer.py", line 37, in __init__
    self.souphttpsrc = gst.element_factory_make("souphttpsrc", "source")
gst.ElementNotFoundError: souphttpsrc
[gert@localhost ~]$

This seems to fail even before selecting a station.

Googling the {gst.ElementNotFoundError: souphttpsrc} interesting in the sense that I found the exact same reponse as above code in pastebin at:

http://pastebin.com/2CtRdxm0

Not that this helped me, apart from showing I am not alone.

Edit:
Decided to see what happened if I installed {task-multimedia}, well that brings it back to same situation I have in KDE.  Starting {radiotray} in konsole  now gives normal response, waiting for station selection.

Then selecting a station the konsole output seems to indicate normal operation until at the end the 'usual error' shows up:

Code: [Select]
..
..
Received MESSAGE_ERROR
GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
gstplaysink.c(1876): gen_audio_chain (): /GstPlayBin2:player/GstPlaySink:playsink0
Error: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
Error: gstplaysink.c(1876): gen_audio_chain (): /GstPlayBin2:player/GstPlaySink:playsink0
 

Code: [Select]
[gert@localhost ~]$ uname -r
2.6.33.7-pclos6.bfs
[gert@localhost ~]$

Kernel should be ok?

Note:
When using Synaptic to completely uninstall {radiotray} in my case it turns out a couple of emtpy directories are left and following two files are not deleted.

Quote
/home/gert/.local/share/radiotray/bookmarks.xml
/home/gert/.local/share/radiotray/config.xml


I assumed this would be ok, they are fairly small, little content.
« Last Edit: March 05, 2011, 11:25:57 PM by wedgetail »
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2443
  • Any Bugs in site?
Re: Streaming Online Radio Feeds
« Reply #106 on: March 06, 2011, 06:24:00 AM »
Just19

1.. You don't happen to be using Gnome?
2.. If not are you running Opera on your system with {radiotray} installed?

I have a Gnome system, think it is Gnome2010.12 if there is such a system, I have done a quick backup of this in preparation for total update tomorrow.

I installed {radiotray} and it seems to be working very well and fast station change.   ;D  I think I have checked all the default stations and only one, Classic FM seem patchy and unusable.

Edit:
Well I have just done a big update of the Gnome system, to my dismay this has now made {radiotray} unworkable again.  The error the same as previously.  I start from konsole and then select radiostation, seems to work tries 4 times and then the error:

Code: [Select]
..
..
Received MESSAGE_ERROR
GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
gstplaysink.c(1876): gen_audio_chain (): /GstPlayBin2:player/GstPlaySink:playsink0
Error: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
Error: gstplaysink.c(1876): gen_audio_chain (): /GstPlayBin2:player/GstPlaySink:playsink0
« Last Edit: March 06, 2011, 04:57:07 PM by wedgetail »
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: Streaming Online Radio Feeds
« Reply #107 on: March 06, 2011, 07:55:09 AM »
Just19

1.. You don't happen to be using Gnome?
2.. If not are you running Opera on your system with {radiotray} installed?

I have a Gnome system, think it is Gnome2010.12 if there is such a system, I have done a quick backup of this in preparation for total update tomorrow.

I installed {radiotray} and it seems to be working very well and fast station change.   ;D  I think I have checked all the default stations and only one, Classic FM seem patchy and unusable.

No, neither Gnome nor Opera presently .......  KDE 4.6.1 now installed and radiotray is working well.

Offline scoundrel

  • Administrator
  • Hero Member
  • *****
  • Posts: 4540
  • Philosophy= Bigger Hammer
Re: Streaming Online Radio Feeds
« Reply #108 on: March 06, 2011, 12:10:51 PM »
just noticed we have a sleep timer function now  ;D ;D
Please Donate Today..Or I Will Make You Wish You Had

Offline longtom

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3343
  • Satellite Station Africa
Re: Streaming Online Radio Feeds
« Reply #109 on: March 06, 2011, 12:21:29 PM »
just noticed we have a sleep timer function now  ;D ;D

It does too.  You gotta love this little applet !!!  ;D
Regards longtom

PCLinuxOS KDE 32bit
Intel Core 2 Duo E2200 / 2.2 GHz
2GB Ram
Nvidia GT610

Offline scoundrel

  • Administrator
  • Hero Member
  • *****
  • Posts: 4540
  • Philosophy= Bigger Hammer
Re: Streaming Online Radio Feeds
« Reply #110 on: March 06, 2011, 12:56:53 PM »
just noticed we have a sleep timer function now  ;D ;D

It does too.  You gotta love this little applet !!!  ;D

how does it work ??  tried marking it, but couldn't right or left click it .. killed it and can't find any timer to set..??
Please Donate Today..Or I Will Make You Wish You Had

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: Streaming Online Radio Feeds
« Reply #111 on: March 06, 2011, 01:15:19 PM »
seems with the radio playing the timer can be ticked ......  which prevents further access to the radio ......  so I expect there must be some time setting as default which when expires turns off the radio .......  conjecture on my part .....  ;)

Offline longtom

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3343
  • Satellite Station Africa
Re: Streaming Online Radio Feeds
« Reply #112 on: March 06, 2011, 01:50:35 PM »
seems with the radio playing the timer can be ticked ......  which prevents further access to the radio ......  so I expect there must be some time setting as default which when expires turns off the radio .......  conjecture on my part .....  ;)

Yeah ... that's what I thought too.  Haven't tested it so to find out when the cut out occurs.  I reckon it will get more configurable as time goes on.

From the radiotray blog:
Quote
There’s now a sleep timer integrated in radio tray, so that you can all go to sleep listening to radio tray ;) This feature will probably change in the future. In future version we plan to offer a plugin environment and this feature is a clear candidate for being a plugin.
« Last Edit: March 06, 2011, 01:53:22 PM by longtom »
Regards longtom

PCLinuxOS KDE 32bit
Intel Core 2 Duo E2200 / 2.2 GHz
2GB Ram
Nvidia GT610

Offline scoundrel

  • Administrator
  • Hero Member
  • *****
  • Posts: 4540
  • Philosophy= Bigger Hammer
Re: Streaming Online Radio Feeds
« Reply #113 on: April 02, 2011, 01:36:35 PM »
seems with the radio playing the timer can be ticked ......  which prevents further access to the radio ......  so I expect there must be some time setting as default which when expires turns off the radio .......  conjecture on my part .....  ;)

tried it and it never shut off..  ;D
Please Donate Today..Or I Will Make You Wish You Had

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Streaming Online Radio Feeds
« Reply #114 on: April 02, 2011, 02:11:05 PM »
seems with the radio playing the timer can be ticked ......  which prevents further access to the radio ......  so I expect there must be some time setting as default which when expires turns off the radio .......  conjecture on my part .....  ;)

the file with settings exist, and it include the timer parameter (default 15):
~/.local/share/radiotray/config.xml

on my system, once sleep timer is activated no further access is possible, notification appear to be turned off, and timer doesn't work.  :)

AS

Offline scoundrel

  • Administrator
  • Hero Member
  • *****
  • Posts: 4540
  • Philosophy= Bigger Hammer
Re: Streaming Online Radio Feeds
« Reply #115 on: April 02, 2011, 02:39:18 PM »
seems with the radio playing the timer can be ticked ......  which prevents further access to the radio ......  so I expect there must be some time setting as default which when expires turns off the radio .......  conjecture on my part .....  ;)

the file with settings exist, and it include the timer parameter (default 15):
~/.local/share/radiotray/config.xml

on my system, once sleep timer is activated no further access is possible, notification appear to be turned off, and timer doesn't work.  :)

AS

just noticed that when I turned off those pesky pop ups
Please Donate Today..Or I Will Make You Wish You Had