Kodi Community Forum

Full Version: Adding a button to play a acript
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

I am trying to duplicate an option to "Roll your own TV Channel" in XBMC. However the web pages are either not in service or are only part 1 of two. Going through to forum I have come up with this bit of code in the Home.xml file:

<control type="button" id="90176">
<label>Mystery Channel</label>
<onclick>XBMC.runscript(MyVideoLibrary,special://profile/playlists/video/The Mystery Channel.xsp)</onclick>

However, nothing happens when I press to activate the button. Couls omeone please help me out with this code?

Get rid of "MyVideoLibrary" for a start.