2005-05-22, 14:17
Quote:i've done something similar on my box -- i added a button for mythtv. pretty simple, you just need to edit:
xboxmediacenter.xml - add a button in homebuttons, ie:
Quote: <homebuttons>
<button>
<description>mythtv</description>
<label>9</label>
<execute>q:\scripts\mytv.py</execute>
<icon>105</icon>
</button>
language/english/strings.xml - define a label for that button, ie:
Quote: <string><id>9</id><value>mythtv</value></string>
straight forward enough. i use this with the mce skin and it looks great.
i've been running these scripts for a while (since page 13 of this thread) -- the xbmc that i'm currently using is 2005-01-15. i haven't upgraded to any of the new scripts yet, i've been pretty happy just using the basic playback functionality.
unfortunately this method does not appear to work with recent xbmc builds (looks like your trying to add a new button, wouldn't that require work to add an extra button to the skin also?)
the method mentioned by juski works, which edits / replaces an existing button (i ditched the my pictures button), however what happens if you want to keep all the buttons on the home screen? is there a "preferred" method to add a script to one of the windows/home? (couldn't find one).
using pgmiii / xbmc cvs from 2/5/2005 + cvs from 21/5/2005