Posts: 278
Joined: Jun 2008
Reputation:
127
I want to change in home screen
directory programs to a directory that
launch a script so it will start the default.py. of a script
Is this possible?
Posts: 278
Joined: Jun 2008
Reputation:
127
thanks.
And how can I change the name of programs to the script name?
And does this count for every skin ?
Posts: 648
Joined: May 2008
Reputation:
0
nicoli_k
Team-XBMC Forum Moderator
Posts: 648
2009-05-24, 21:55
(This post was last modified: 2009-05-24, 21:58 by nicoli_k.)
for pm3.hd find this: <description>Programs push button</description>
and underneath that, change
<label>$LOCALIZE[0]</label>to <label>Name of Script</label>
*keep the /b modifiers so that the font is bold in the skin. I can't figure out how to get it to show in the post since it thinks I want to bold those letters.
and change: <onclick>ActivateWindow(Programs)</onclick> to <onclick>RunScript(special://home/scripts/Blah/default.py)</onclick>
you'd need to make these changes for whatever skin you use. The location of the file to change may be different depending on the skin you're using.
Posts: 278
Joined: Jun 2008
Reputation:
127
2009-05-24, 22:38
(This post was last modified: 2009-05-26, 18:39 by tikkiew.)
thanks for helping me
i got everything working for pm3.hd and pm3.
pm3 mod fanart and pm3 works like this
seach for the file home.xml in the skin pm3 you will find 2 files
change this in the file
<onclick>ActivateWindow(MyPrograms)</onclick>
<onclick>RunScript(special://home/scripts/name of script/default.py)</onclick>
search for this
<description>My Programs normal push button</description>
and go a little lower and you will need to change this
<label>0</label> to <label>Name of script</label>
Now I want this to work on mediastream skin
I tried a couple of thing with no success
I will ask it there if nobody knows here a solution
Edit :mediastream works like this
A menu for a script can be added by adding the following to the home.xml - find the <!-- Main Menu --> section and add it in after the DVD Button content.
<item id="11">
<description>name of script Button</description>
<label>name of script</label>
<onclick>RunScript(special://home/scripts/name of script/default.py)</onclick>
</item>