Script to swap splash.png from skin settings
#1
Lightbulb 
Hi all,
I wrote a small script that skinners should find useful.
This toggles XBMC's Q:\media\splash.png with a custom one in
Q:\skin\<yourskin>\extras\splash.png

Here is the link
http://asteron.projects.googlepages.com/switchsplash.py

You can just place this script in Q:\skin\<yourskin>\extras\ next to your custom splash.png

And here is how you would integrate it into a skin settings menu

Code:
<control type="radiobutton" id="34">
  <description>Use Custom Splash</description>
  <posx>211</posx>
  <posy>268</posy>
  <width>445</width>
  <label>Use Custom Splash Image</label>
  <onclick>XBMC.RunScript(Q:\skin\Project Mayhem III\extras\switchsplash.py)</onclick>
  <selected>Skin.HasSetting(customSplash)</selected>
  <onleft>9001</onleft>
  <onright>9001</onright>
  <onup>33</onup>
  <ondown>35</ondown>
  <textoffsetx>7</textoffsetx>
  <texturefocus>list-focus.png</texturefocus>
  <texturenofocus>-</texturenofocus>
  </control>
enjoy!
Reply
#2
Cool :-D
Im thinking about writing a script to edit some skin.xml's. So, for example, a function in the script to enable/disable skin integration (eg. for Xbmc Lyrics - it could add in the lyrics button to Pm3 etc)
Or is there something similiar to this allready?
Reply
#3
real nice idea this one Smile I like it
Reply

Logout Mark Read Team Forum Stats Members Help
Script to swap splash.png from skin settings0