Editing DialogButtonMenu.xml for Various Options - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67) +--- Thread: Editing DialogButtonMenu.xml for Various Options (/showthread.php?tid=66835) |
Editing DialogButtonMenu.xml for Various Options - kubax - 2010-01-11 Hi, i want to add some functions to DialogButtonMenu.xml of Confluence.. First off, i'll try to add function for predefined shutdown timers. when i do this, after fushing the button for the Shutdown Menu, my XBMC only just shutdown, without showing the menu... here is a copy of my DialogButtonMenu.xml... http://pastebin.com/m606c4cb0 Here the code i added (tooked it from PM3.HD) Code: <control type="button" id="30"> Also i want to add a complete new button, for Calling a script (to shut down my windows mashine, wich acts as file server for my video database) best, thing would be if this could be done with a timer, too... hope someone could give me a hint why my system just reboots instead of showing the shutdown menu... Kubax - kagem - 2011-01-12 I didn't get to see your DialogButtonMenu.xml but here's mine http://pastebin.com/Ur7v8pwZ I only added a 120 min Shutdown timer but it seems to work correctly. The only thing I can think you did wrong was just straight copy pasted it from PM3, you need to change some things like the id #'s and onup, ondown, ect. The id # number has to be unique for each item and the on*'s tell which one to show when you press a direction. onup=up ondown=down... The width and height ones might make a difference also. I'm not sure what the label tag does so I just copied the one from PM3. Hope that helps. Sorry can't help with your other question, took me awhile just to figure out the timer one. |