Running MythTV from XBMC (lucid)
#1
I take no credit for being original as I'm pretty much reusing stuff from multiple posts. I also don't know if my method will work on systems that have a different configuration than mine (Intel G45 HDMI, Mythbuntu 10.04 and XBMC 9.11svn). I could not get Launcher 1.04 to work or Mythbox so I was looking around for other solutions. I tried a few scripts that used killall to exit XBMC and load Myth but they either only worked once or caused problems with XBMC locking up. The following method loads an application on top of XBMC so if you're on marginal hardware it might not work. The first time I tried it without disabling the remote XBMC would be doing things in the background every time I pushed a button so the
Lirc.stop and start functions were added.

I created a small (actually tiny) XBMC python script to execute an application.

RunMyth.py goes in /home/user/.xbmc/scripts/My Scripts

#Run MythTV
import os, sys, xbmc

xbmc.executebuiltin("LIRC.Stop")
os.system("mythfrontend")
xbmc.executebuiltin("LIRC.Start")

run chmod +x on the file you created to make it executable.

You can also enter the name of a script to run if you want it to do other checks. I use a script I found to see if Myth is already running.

os.system("/home/username/scripts/./runmyth.sh"

I also created one for Hulu Desktop but for some reason the remote control was acting a little funky but sometimes it's funky all by itself.
Mythbuntu doesn't need viruses - we have Sudo
Reply

Logout Mark Read Team Forum Stats Members Help
Running MythTV from XBMC (lucid)0