Kodi Community Forum
creating new buttons - 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)
+---- Forum: AppTV (https://forum.kodi.tv/forumdisplay.php?fid=76)
+---- Thread: creating new buttons (/showthread.php?tid=48188)



creating a home menu button the video plugins - flacnvinyl - 2009-04-03

I have successfully created a button on the home menu that goes directly to my video plugins folder. Below is the code in my Home.xml folder...

<item>
<icon>E:\Apps\XBMC\skin\xTV\media\ff.png</icon>
<thumb>E:\Apps\XBMC\skin\xTV\media\ff.png</thumb>
<label>31007</label>
<onclick>ActivateWindow(video, plugins)</onclick>
</item>

The only problem is that when I use the button, the directory pops up as purely a directory. None of the plugins will activate. It acts like it is simply using the file manager to look at folder. I found this page: http://wiki.xbmc.org/?title=Window_IDs and it was very helpful in finding content... HOWEVER, there is no 'plugins' tag.

How can I make this button nav to the folder WITH functionality? It acts as though I am looking for video files within the plugin folders, when really I just want to run the plugins.

Note: I have already tried running it as (scripts, plugins) but the plugins cannot run as scripts and will not work.


- CHI3f - 2009-04-03

<onclick>ActivateWindow(MyVideoLibrary,Plugins)</onclick>


- flacnvinyl - 2009-04-03

<onclick>ActivateWindow(MyVideoFiles,plugin://video)</onclick> solved it.

thank you!