totem crashes when launched from mythtv

Asked by Daniel Freas

I've added a button in my mythtv menu to launch totem connected to an online radio station I like by adding the following to the library.xml file:

    <button>
 <type>MUSIC_PLAY</type>
 <text>Hober</text>
 <action>EXEC /usr/bin/totem --fullscreen http://play.hober.com/hober.mp3</action>
    </button>

I've already tested the EXEC portion of the above statement from a command line and it does exactly what I want- connects to the online radio station with a fullscreen visualization. However when I try to click on the button that I created in the Mythtv menu, Totem starts and I get about half a second of visualization and then everything hangs and I have to kill the program to get out of it.

I tried running mythfrontend from a command line to capture any error messages and got this:

<normal mythtv startup messages,followed by:>
2011-03-06 17:29:38.552 Found mainmenu.xml for theme 'metallurgy'
2011-03-06 17:29:38.622 MythContext: Connecting to backend server: 127.0.0.1:6543 (try 1 of 1)
2011-03-06 17:29:38.623 Using protocol version 56
2011-03-06 17:29:41.903 Loading menu theme from /usr/share/mythtv/themes/defaultmenu//library.xml
totem: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
2011-03-06 17:30:15.312 AudioPulseUtil: Resume Success
2011-03-06 17:30:15.312 Deleting UPnP client...

My guess from reading this is that Totem is trying to grab the sound server but mythtv has control and isn't letting go? (I'm assuming the resume success part is after I did a force quite on the totem screen) I'm using Ubuntu 10.10 and all mythtv packages have been installed from the Ubuntu software center so it's all standard.

Any suggestions for how I can get this to run? Suggestions for alternative methods to get a radio station to play through mythtv without too much hackish type code are also welcome.

Thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu mythtv Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Can you give the output of:

lsb_release -a; uname -a; dpkg -l | grep totem

Thanks

Revision history for this message
Daniel Freas (dfreas-gmail) said :
#2

television@television-desktop:~$ lsb_release -a; uname -a; dpkg -l | grep totem
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.2 LTS
Release: 10.04
Codename: lucid
Linux television-desktop 2.6.32-29-generic #58-Ubuntu SMP Fri Feb 11 19:00:09 UTC 2011 i686 GNU/Linux
ii libtotem-plparser17 2.30.0git201000413-0ubuntu1 Totem Playlist Parser library - runtime file
ii totem 2.30.2-0ubuntu1 A simple media player for the GNOME desktop
ii totem-common 2.30.2-0ubuntu1 Data files for the Totem media player
ii totem-mozilla 2.30.2-0ubuntu1 Totem Mozilla plugin
ii totem-plugins 2.30.2-0ubuntu1 Plugins for the Totem media player

BTW - I said in the original post I had 10.10 installed - it's 10.04, sorry about that!

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

ok and the output of:

apt-cache policy totem

Thanks

Revision history for this message
Daniel Freas (dfreas-gmail) said :
#4

television@television-desktop:~$ apt-cache policy totem
totem:
  Installed: 2.30.2-0ubuntu1
  Candidate: 2.30.2-0ubuntu1
  Version table:
 *** 2.30.2-0ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
        100 /var/lib/dpkg/status
     2.30.0git20100413-0ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

you have the latest version. I suggest you log a bug or try a clean install / upgrade of Maverick. May help

Can you help with this problem?

Provide an answer of your own, or ask Daniel Freas for more information if necessary.

To post a message you must log in.