Adding a button to play a acript

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
mwkurt Offline
Posting Freak
Posts: 971
Joined: Mar 2010
Reputation: 9
Post: #1
Hello,

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">
<include>ButtonHomeSubCommonValues</include>
<label>Mystery Channel</label>
<onclick>XBMC.runscript(MyVideoLibrary,special://profile/playlists/video/The Mystery Channel.xsp)</onclick>
</control>

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

Thanks,
Mark
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,523
Joined: Oct 2003
Reputation: 138
Post: #2
Get rid of "MyVideoLibrary" for a start.

Cheers,
Jonathan

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote