Home Menu Custom Items
Posted: Sun Mar 10, 2013 8:15 am
I've been trying to incorporate custom home menu items into my skin via taking the 4.0 version and updating along lose lines. The actual code from the skin to do this for plugins or add-ons or whatever you want to call them is:
and it will not work because of (from debug log):
SO...I've wasted enough time realizing that it's not going to work that way for now, although it would be MUCH easier than what I've been trying to do to hack this into a working addition to my/any skin. The reason this post is in this area is because it involves a script that I borrowed from XTV-SAF FOUND HERE. I was really hoping that some of you guys that know the current scripting methods might be able to help me fix this.
What the script allows is browsing for an add-on, placing it into said button control, and launching it from the button. Doesn't work anymore and here's why http://pastebin.ca/2330527. It gets everything lined up to work, but when you click the button...that's what you end up with. I don't think it would take much to make it work, any help would be awesome so thanks in advance if anyone can ---
Code: Select all
<onclick>Skin.SetAddon(MusicSubMenuBtn1Path,xbmc.python.pluginsource)</onclick>
Code: Select all
00:52:10 M: 42229760 DEBUG: CApplication::OnKey: 256 pressed, action is 7
00:52:10 M: 42229760 DEBUG: CApplication::OnMessage : Translating Skin.SetAddon(MusicSubMenuBtn1Path,xbmc.python.pluginsource)
00:52:10 M: 42229760 DEBUG: CApplication::OnMessage : To Skin.SetAddon(MusicSubMenuBtn1Path,xbmc.python.pluginsource)
00:52:10 M: 42229760 ERROR: Keymapping error: no such action 'skin.setaddon(musicsubmenubtn1path,xbmc.python.pluginsource)' defined
What the script allows is browsing for an add-on, placing it into said button control, and launching it from the button. Doesn't work anymore and here's why http://pastebin.ca/2330527. It gets everything lined up to work, but when you click the button...that's what you end up with. I don't think it would take much to make it work, any help would be awesome so thanks in advance if anyone can ---