2008-10-18, 02:15
Hi,
I need to run an external program (mythtv), so I made a menu item and from it I launch a small python script with <onclick>XBMC.RunScript(/home/kk/.xbmc/scripts/launchmyth/default.py)</onclick>
the python script is:
import os
os.system('launchmyth')
launchmyth kills xbmc and run mythtv... all work fine except audio (I can't hear anything, I get /dev/dsp is busy...).
Tried also with vlc and same issue.
Tried with signal 9 and 15, and also with builtin function XBMC.Quit.
If I kill xbmc and run mythtv manually from the console the audio works.
If I don't kill xbmc and run the program, the audio works..
Suggestions?
I need to run an external program (mythtv), so I made a menu item and from it I launch a small python script with <onclick>XBMC.RunScript(/home/kk/.xbmc/scripts/launchmyth/default.py)</onclick>
the python script is:
import os
os.system('launchmyth')
launchmyth kills xbmc and run mythtv... all work fine except audio (I can't hear anything, I get /dev/dsp is busy...).
Tried also with vlc and same issue.
Tried with signal 9 and 15, and also with builtin function XBMC.Quit.
If I kill xbmc and run mythtv manually from the console the audio works.
If I don't kill xbmc and run the program, the audio works..
Suggestions?