xboxscene.org forums
OG Xbox Forums => Software Forums => XboxMediaCenter => Topic started by: bwanaaaaa on May 30, 2004, 04:42:00 AM
-
Although many of you are experts, there are a fair number of noobs asking noob questions here, so this may help them.
To make the python script more easily accessible, I edited my NTSC/home.xml file. I shrank the settings button size(notice the blocks of code with <control>...</control>,look for the one with 'settings' in it, look for the width parameter, it's 197, make it 99).
Add another button next to it. Do this by copying and pasting the settings block of control code. In the newly pasted block of code, change the id to 9 - it needs to be unique. Change the x position so that it's 100 greater than the xposition of the settings button. A button named 'webradio 2' should now appear on your xbmc main page after you reboot. Interestingly, the button already exists in PAL/home.xml - I wonder why the discrepancy in NTSC/home.xml?
Add an image to be associated with the webradio 2 button by copying and pasting the image code of your choice.in the ntsc/home.xml file. Change the id to 109.
I then went into the language/english/strings.xml file and changed "webradio 2" to "Radio" so it would fit on the smaller button.
Now, the script is accessible from a 'Radio' button push on the main page. <
-
um, i'm pretty sure the orgrinal author provided a strings.xml and a modified home.xml for the media center skin anyway- granted no accompanying picture-
thing is i had the xbmc email script on the mains screen too, but adding all these useful python scripts is making the mainscreen look# cluttered so i've just modified the home.xml for media center and project mayhem to be able to launch the python scripts folder from the main menu
This post has been edited by nimbles: May 30 2004, 01:03 PM <