2009-08-01, 00:21
Hi,
I'm using the Aeon theme, on linux, with xbmc from the repo, ubuntu 9.04
From the information on this forum i've created a python script to launch mythtv from the main menu, now this works and gets me to the mythfrontend but when i select Watch TV on the myth menu it plays behind the other windows. It can't get focus? It will sometimes randomly get focus.
I know mythfrontend works ok i can launch it without xbmc and it works fine.
Is there another way to get focus over xbmc? I need the mythfrontend to load so i can get to the recordings and setup, i just prefer playing managing that data through mythtv.
Here is my python script, i've tried mythfrontend and mythfrontend.real
#!/usr/bin/python
import os
cmd = 'mythfrontend.real > /tmp/mythfrontend.log 2>&1 &'
os.system(cmd)
and my menu entry
<item id="21">
<description>TV</description>
<label>TV</label>
<onclick>XBMC.RunScript(/home/user/.xbmc/scripts/startmyth.py)</onclick>
<visible>Skin.HasSetting(assistant)</visible>
</item>
Any help would be great, thank you.
I'm using the Aeon theme, on linux, with xbmc from the repo, ubuntu 9.04
From the information on this forum i've created a python script to launch mythtv from the main menu, now this works and gets me to the mythfrontend but when i select Watch TV on the myth menu it plays behind the other windows. It can't get focus? It will sometimes randomly get focus.
I know mythfrontend works ok i can launch it without xbmc and it works fine.
Is there another way to get focus over xbmc? I need the mythfrontend to load so i can get to the recordings and setup, i just prefer playing managing that data through mythtv.
Here is my python script, i've tried mythfrontend and mythfrontend.real
#!/usr/bin/python
import os
cmd = 'mythfrontend.real > /tmp/mythfrontend.log 2>&1 &'
os.system(cmd)
and my menu entry
<item id="21">
<description>TV</description>
<label>TV</label>
<onclick>XBMC.RunScript(/home/user/.xbmc/scripts/startmyth.py)</onclick>
<visible>Skin.HasSetting(assistant)</visible>
</item>
Any help would be great, thank you.