Posts: 12
Joined: May 2009
Reputation:
0
2009-05-02, 19:18
(This post was last modified: 2009-05-03, 11:00 by xbmcnoob.)
Hello,
at first sorry for my englisch. I have installed xbmc + 1.7.0 VDR on Ubuntu 9.04. So i would like to create a new button (VDR) in the menu who starting a phyton script. I don´t need help with the scripts, only how to create the button who execute the script. My Skin is PM3.HD.
Thank you!
Posts: 1,234
Joined: Nov 2008
Reputation:
5
Do you want a complete new button or just to rename one of the current ones.
Button controls are found within home.xml
Posts: 1,234
Joined: Nov 2008
Reputation:
5
The problem with adding a new button completely is the fact that the background image around the button would need to be edited to hold a new button. I would suggest that you turn on "show programs on home menu" within the skin settings. This will add another button to the homepage with a background that Jezz already has in the skin. From there we can change that button.
If this will work for you, let me know know what you want the button to be labeled and what action it will pefrom. I will make you a new homepage and send it to you.
Posts: 12
Joined: May 2009
Reputation:
0
2009-05-02, 22:53
(This post was last modified: 2009-05-02, 23:17 by xbmcnoob.)
OK i understand. Now i have one more button with "Programs". You will rename this button into "VDR" and this button should be activate a phyton script. My wish is that the button is the first! And I think i must send you my home.xml because xbmc is patched and now there is one more button with "TV" for looking tv in xbmc. At this time it look´s: XBMC/9.04-beta1 r19616
TV
Videos
Music
Pictures
Programs
Weather
Scripts
Settings
My wish is:
VDR (if you push the button a phyton-scripts start)
TV
Videos
Music
Pictures
Weather
Scripts
Settings
Is this possible? Let me know what you need.
Posts: 1,234
Joined: Nov 2008
Reputation:
5
put your home.xml on pastebin and post the link. I will make the changes and repost it for you.
I will also need to know your script path so I can activate it properly. Are you on PC or Xbox?
Posts: 12
Joined: May 2009
Reputation:
0
Keep in mind that your images will not match the section unless you edit your customskinsettings.xml ---- I don´t know what you mean? After editing the home.xml i see the VDR Button!!! Great Job. Can I change the picture? Is this possible?
Posts: 1,234
Joined: Nov 2008
Reputation:
5
Do you use a folder with images in it for each section on your home page or do you just have the image pm3.hd uses for each section. I have a good image pack in my link below if you want to use them for your image folders or as a starter.
Custom images are set within settings>skin settings>backgrounds
Then just set the folder you want for each section. Keep in mind that I altered your home page so your buttons do not line up with with the labels in skin settings. Pastebin me your custom_SkinSetting_1111.xml and I can straighten that out real quick as well.
Posts: 12
Joined: May 2009
Reputation:
0
I have downloaded your Background.rar. It looks very good, how can i change the pictures? Is that easy?
Posts: 1,234
Joined: Nov 2008
Reputation:
5
Good to hear it is working. Whatever pictures you want displayed, just put them in the folders for each section and select that folder in skin settings for backgrounds