View Full Version : Random Splash
hi ^^
random splash was nice, eatch time boot xbox :p or hibernate fonction (joke)
in media folder with numeral order : 001.png, 002.png, etc ....
nop ? :p
BigBellyBilly
2006-01-10, 13:32
that could be done with a python script that runs automatically at startup.
it could pick a random number (between 1 to 10 say) and then rename a file tobe th default startup splash filename.
eg. startup_1.png -> splash.png
this would mean that the next time you boot the previously selected splash would be the one shown.
infact i might knock up a script to do it ...
i swear i remember someone already doing this at some time...
man i've been living on these boards so long my memory is losing me...
haaa yes !
and any god dev do it ?
:p
well saw this post and need something to do so quickly whipped this up. i didn't get time to test this so hope it works. brief little readme/how-to is located in top of file. pretty much does what bigbellybilly.
(u may need to right click and save as)
http://members.ozemail.com.au/~darkdonno/random_splash.py
probley the best to use this is drop it in ur scripts\ folder then execute it thorugh the autoexec.py
the script executes the httpapi to do the filecopy of the new splash not sure how exactly this will turn out.
thx so much :p
i change number of splash ..
but after try little with it seem no work :/
when you say used httpapi ? it's integrated into xbmc so nothing to activate ? i think .. after research in documentation for api command i look filecopy operation "file copy(sourcefilename, destinationfilename)" and in syntaxe they put "," and in your script you put ";" ?
may it good i don't know ...
so anybody try the script and working ?
++