2007-02-23, 23:35
Updated: Feb 28th, 2007
This package is for skinners who want to include a link to a script in your skin and want some kind of message if the script doesn't exist.
What this does is, checks if the script exists, then runs it if it does. If not the user will get a dialog with the option to download the script. It grabs the latest tagged version.
Copy the folder from the package into your skin somewhere and link to the script in there.
*Updated:
This package includes all the scripts in SVN that have been tagged:
AccuWeather.py
Ambient Light Control Pad
Apple Movie Trailers.py
Poker Timer II
Tetris.py
XBMC Changelog.py
XBMC Lyrics.py
xStocks.py
Youtube.py (not tested, this is the original)
*more may be added in the future.
Download:
http://xbmc-scripting.googlecode.com/svn...cripts.zip
*New:
There is also a version that supports sys.argv[]. No need for any updates when a new script is tagged.
*Note this version requires XBMC Rev-7908 or newer.
You link your button to launcher.py and supply the script name.
***** committed to the main SVN trunk *****
Download version with sys.argv[] support from the main trunk.
http://xbmc-scripting.googlecode.com/svn...ripts_argv[url=http://xbmc-scripting.googlecode.com/svn/tags/SVNScripts/SVNScripts_argv.zip][/url]
Thanks to Jezz_X for the original idea and Blittan for the download idea.
This package is for skinners who want to include a link to a script in your skin and want some kind of message if the script doesn't exist.
What this does is, checks if the script exists, then runs it if it does. If not the user will get a dialog with the option to download the script. It grabs the latest tagged version.
Copy the folder from the package into your skin somewhere and link to the script in there.
Code:
<onclick>XBMC.RunScript(q:\skin\skin-name\extras\SVNScripts\XBMC Lyrics.py)</onclick>
*Updated:
This package includes all the scripts in SVN that have been tagged:
AccuWeather.py
Ambient Light Control Pad
Apple Movie Trailers.py
Poker Timer II
Tetris.py
XBMC Changelog.py
XBMC Lyrics.py
xStocks.py
Youtube.py (not tested, this is the original)
*more may be added in the future.
Download:
http://xbmc-scripting.googlecode.com/svn...cripts.zip
*New:
There is also a version that supports sys.argv[]. No need for any updates when a new script is tagged.
*Note this version requires XBMC Rev-7908 or newer.
You link your button to launcher.py and supply the script name.
Code:
<onclick>XBMC.RunScript(q:\skin\skin-name\extras\SVNScripts_argv\launcher.py,XBMC Lyrics)</onclick>
***** committed to the main SVN trunk *****
Download version with sys.argv[] support from the main trunk.
http://xbmc-scripting.googlecode.com/svn...ripts_argv[url=http://xbmc-scripting.googlecode.com/svn/tags/SVNScripts/SVNScripts_argv.zip][/url]
Thanks to Jezz_X for the original idea and Blittan for the download idea.