[mythtv-theming] running external programs from MythTv? and some more...

tomas.hylander at gmail.com tomas.hylander at gmail.com
Sat Feb 13 19:30:22 UTC 2010


I've been trying to get something to work but I guess I need some help.

Not completely sure that it works, but what I want is to run a script from  
within MythTv.

my button is defined in base.xml and looks like this;
-----------------------------------------------------------------------------
<button name="status">
<position>40,220</position>
<statetype name="buttonstate">
<state name="active">
<imagetype name="background">
<filename>ui/mc-status.png</filename>
</imagetype>
<textarea name="text">
<area>0,0,92,55</area>
<align>allcenter</align>
<font>menu_desc</font>
<font state="selected">basemedium</font>
<font state="disabled">basemediumgrey</font>
</textarea>
</state>
<state name="selected" from="active" />
<state name="disabled" from="active" />
<state name="pushed" from="active">
<imagetype name="background">
<area>0,0,92,55</area>
<filename>ui/mc-status1.png</filename>
<alpha>180</alpha>
</imagetype>
<textarea name="text">
<position>8,8</position>
</textarea>
</state>
</statetype>
</button>
--------------------------------------------------------------------------

I then call it from menu_ui.xml with a simple "<button name="TV-Status"  
from="status" />"

But where do I use the "<Action>EXEC myscript.py</Action>"

Or can I only use the types and actions listed on the link??

Thankful for anyhelp!

/Tomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-theming/attachments/20100213/e13e5e5d/attachment.htm>


More information about the mythtv-theming mailing list