![]() |
|
|||||||
| MediaStream Subforum for the MediaStream skin (and mods for/of it). |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Fan
Join Date: Jan 2008
Location: Edmonton, Canada
Posts: 444
![]() |
Is the easiest way to do this to replace the XML of one of the existing entries I'm not using (like Programs) or is there a relatively simple way of adding extra entries to the home menu? I have 2 scripts (AMT and Home Theater) that I'd like to add to my home menu if it's possible.
Thanks. |
|
|
|
|
|
#2 |
|
Fan
Join Date: Aug 2007
Location: California
Posts: 511
![]() |
A menu item for AMT 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.
Code:
<item id="11">
<description>AMT Button</description>
<label>AMT</label>
<onclick>XBMC.ActivateWindow(videofiles,plugin://video/Apple Movie Trailers II)</onclick>
</item>
|
|
|
|
|
|
#3 |
|
Fan
Join Date: Jan 2008
Location: Edmonton, Canada
Posts: 444
![]() |
Fantastic, thanks for the quick response!
|
|
|
|
|
|
#4 |
|
Member
Join Date: Aug 2008
Posts: 52
![]() |
Good tip, I can confirm that this does work.
Is there any way to set backgrounds for additional items above #12? I know there is no option in the gui but is it possible to edit a config file to achieve this? Thanks, Rob |
|
|
|
|
|
#5 | |
|
Junior Member
Join Date: Aug 2004
Posts: 15
![]() |
Quote:
I think I see how Home.xml could be modified to display a new image for the new button, and I have an image, I'm just not sure how to get the skin engine to reference it given it isn't in (in my case) richer.xpr ... -m |
|
|
|
|
|
|
#6 |
|
Fan
Join Date: Jan 2008
Location: Edmonton, Canada
Posts: 444
![]() |
Hmm, I ran into a bit of a snag.
Home Theater worked properly because it's installed as a plugin. AMT, though, is installed as a script (and must be to interact properly with the Home Theater plugin). I couldn't figure out how to call the AMT script properly. The closest I came was: XBMC.RunScript(q://scripts/Apple Movie Trailers/default.py) This did run the script, but it created and used UserData\script_data\AMT.db instead of UserData\script_data\Apple Movie Trailers\AMT.db. How can I call this script properly? When I do it from within the skin I go: System -> Scripts -> Apple Movie Trailers |
|
|
|
|
|
#7 | |
|
Team Razorfish
Join Date: Aug 2007
Location: London
Posts: 1,823
![]() |
Quote:
|
|
|
|
|
|
|
#8 | |
|
Junior Member
Join Date: Oct 2008
Posts: 7
![]() |
Quote:
Anyone know how to link a SCRIPT not a plugin and not have the error above? been looking and playing around with no luck
|
|
|
|
|
|
|
#9 |
|
Aeon Group
Join Date: Sep 2008
Posts: 362
![]() |
Hmm, I've tried this for the iplayer plugin and done the obvious and change the AMT link to iPLayer but while I now have the iPlayer link on the Home menu when I click it it does nothing
![]() Can anyone help? EDIT Figured it out, the link should be XBMC.ActivateWindow(MyVideofiles,plugin: etc instead of XBMC.ActivateWindow(videofiles,plugin: etc Last edited by HexusOdy; 2009-05-10 at 22:45. |
|
|
|
|
|
#10 |
|
Junior Member
Join Date: May 2009
Posts: 8
![]() |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|