XBMC Community Forum  

Go Back   XBMC Community Forum > Help and Support > Plugin/Script (Python) Help and Support

Plugin/Script (Python) Help and Support Python requests/suggestions, support, bugs, and everything python goes in here!
Please, add platform prefix to threads that are not platform-independent!:
Thread prefixes; "[LINUX]", "[LIVE]", "[MAC]", "[WINDOWS]", and "[XBOX]"

Reply
 
Thread Tools Search this Thread Display Modes
Old 2004-12-01, 18:19   #1
Guffe
Junior Member
 
Join Date: Dec 2004
Posts: 16
Guffe is on a distinguished road
Default

i'm trying to add an additonal item to the main menu of xbmc by editing the home.xml.
i have added the following piece to the file and edited the numbers so the menu will work when moving around.

<control>
<description>tv program normal push button</description>
<type>button</type>
<id>11</id>
<posx>270</posx>
<posy>449</posy>
<width>180</width>
<height>35</height>
<label>4</label>
<font>font14</font>
<execute>q:\scripts\tvprogram.py</execute>
<onleft>10</onleft>
<onright>100</onright>
<onup>9</onup>
<ondown>2</ondown>
<textoffsetx>13</textoffsetx>
</control>

i have tried both the <execute> and the <script> options for executing the python script. none of them works.
i looks like it tries to execute the command but for some reason it fails and exits to the xbmc again.
i have succesfully added and executed the same script to the popup menu together with the movie trailers and web radio.
i that case it works fine.

any clues?
cheers

/g/
Guffe is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Menu items don't work Mhawk134 XBMC for Xbox Specific Support 3 2005-01-29 21:25
Adding menu items & buttons Guffe XBMC for Xbox Specific Support 0 2004-12-01 18:19
adding new buttons? dee_ss Skin Development 4 2004-08-24 13:30
adding new buttons? dee_ss XBMC General Discussion 1 2004-07-28 10:00
Add menu Items robomonkey Skin Development 6 2004-02-11 20:07


All times are GMT +2. The time now is 11:43.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project