Radiotray regularly pauses 5 seconds without any reason during stream

Bug #1182084 reported by Xavier Guillot
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
radiotray (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hello,

Radio Tray 0.7.3 works very well in Ubuntu, but since 12.10 I have a little annoying bug :

Regularly and randomly, when I am listening a radio, sound makes a pause during approximately 3 to 5 seconds, Radiotray icon indicator becomes grey (as it is when no radio is launched), and without having to do anything (no need to manually reselect a radio), program restarts and icon is blue again.

It resumes exactly at the same moment sound was stopped, if someone was speaking, no word of the sentance is lost, just we have now 5 seconds late on the stream.

It happens whatever type of radio, for example for both of following, and can repeat several times, a few minutes or hour later...

http://streaming.radio.funradio.fr/fun-1-44-96
http://mp3.live.tv-radio.com/scooplyon/all/scooplyon-128k.mp3
http://broadcast.infomaniak.net/hit-sport-high.mp3
http://vipicecast.yacast.net/rmc.m3u
http://www.tv-radio.com/station/france_inter_mp3/france_inter_mp3-128k.m3u

This is not a big issue, but it's disturbing (I have to look if it's just a pause, so wait 5'' or if program stopped), it's not normal behavior, and when watching a football match at TV with the Internet radio sound, it's a bit problematic !

I don't know what to do to bring more informations, even when running Radio Tray via terminal, nothing is displayed when pause occurs.

Bug also notified upstream : https://bitbucket.org/carlmig/radio-tray/issue/169/radiotray-regularly-pauses-5-seconds

description: updated
Revision history for this message
Dappy (dappy) wrote :

Hello,
I've the same problems since Ubuntu 14.04 on all the radios! No problems before with version 13.10.
I try different things, but it's always the same!
No message, just blank sound for 5 seconds and go on... Sometimes no problems, sometimes every 30 minutes...

Revision history for this message
Ferux (ferux-e) wrote :

Yes same problem here. Quite annoying bug in a nice app.

Revision history for this message
Kostanos (kostanos) wrote :

The same bug here.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in radiotray (Ubuntu):
status: New → Confirmed
Revision history for this message
George O. (olteanu-stefan) wrote :

The same problem here. I'm using Xubuntu 14.04.03.

Revision history for this message
István Pongrácz (pongracz-istvan) wrote :

Same problem here, since Linuxmint 16 as I remember.
Now I am using Linuxmint Mate 17.1 and exactly the same issue.

Revision history for this message
István Pongrácz (pongracz-istvan) wrote :

I found a thread on bitbucket, where some users mentioned to increase the buffer size (default is 164000 bytes).

I changed this buffer size to 656000, I will see the result.

Here is the path and the modified full config file:
Path is: ~/.local/share/radiotray/config.xml

Config:
<config>
  <option name="volume_increment" value="0.05"/>
  <option name="volume_level" value="1.0"/>
  <option name="url_timeout" value="100"/>
 <!-- Here is the added line to increase the buffer -->
  <option name="buffer_size" value="656000"/>
  <option name="enable_application_indicator_support" value="true"/>
  <!-- valid options are 'appindicator', 'systray' and 'chooser' -->
  <option name="gui_engine" value="appindicator"/>
  <option name="active_plugins"><item>Notifications</item><item>Mate Media Keys</item></option>
<option name="last_station" value="Bolz Radio"/></config>

Revision history for this message
István Pongrácz (pongracz-istvan) wrote :

Ok, it happened again, so, seems the buffer_size doesn't matter.

Revision history for this message
István Pongrácz (pongracz-istvan) wrote :

As proof-of-concept: in totem the same network radio is working perfectly, so, I do not think, it is a network outage or pulseaudio bug.
I hope these info helps to find the issue.

Revision history for this message
dino99 (9d9) wrote :

If you are still affected by that unexpected 'pause':

sudo gedit /usr/lib/python2.7/dist-packages/radiotray/AudioPlayerGStreamer.py

The line 141 or 156 (depending of the used version) can be commented:

                self.player.set_state(Gst.State.PAUSED)

        ==> #self.player.set_state(Gst.State.PAUSED)

then save that .py file and reconfigure radiotray, and with the next radiotray load you then will not get that 'pause'

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.