PDA

View Full Version : Random Splash


bouriko
2006-01-10, 07:55
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 ...

Asteron
2006-01-10, 18:00
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...

bouriko
2006-01-10, 22:14
haaa yes !

and any god dev do it ?

:p

donno
2006-01-11, 14:17
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.

bouriko
2006-01-31, 10:30
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 ?

++