Posts: 11
Joined: Jun 2005
Reputation:
0
what i would love to see made (once again, can't program much at all) is a tiny script that randomizes the next splashscreen for the next bootup. basically, it'd be a randomizer that simply renames files, ie, splash.000 > splash.png, etc.
each time xbmc is booted up, it renames a new splash file to be displayed on next bootup.
any takers?
thanks!
psc
Posts: 11
Joined: Jun 2005
Reputation:
0
bump.
or even point me in the right direction for basic basic py scripting. (random number generation, renaming of files.. etc)
thanks,
psc
Posts: 11
Joined: Jun 2005
Reputation:
0
ok, so if i have, say, 7 files: splash.000 - splash.005 (+splash.png) in the media folder it will pick one of those? sorry, i just don't get what that script does.
i see that it removes the current splash, then randomizes.. and copies a new file into splash.png, but i don't see how it picks the file, and what it does with the old splash.png once it puts the new one in place.
thanks a lot
psc
edit: alright, i see that file is the variable and it picks anything that begins with 'splash'. so there's no limit to how many i can put in there, as long as it begins with splash?
i guess my only question now is what happens to the old one once it gets removed.