Script request or help - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +--- Thread: Script request or help (/showthread.php?tid=16139) |
- Nightspawn - 2005-11-09 i changed to xbmc as my main dash a few weeks ago - and haven't looked back since =) one thing i did on my old dash (evox) was make a custom menu to change the skins for dead or alive 3 - and while using xbmc as the main dash if i want to change the skins i have to run evox and use that menu. changing the skins is just a simple copying task ~ so i am wondering if it is possible to make a script in xbmc to do the same thing. any pointers on how i should do this would be great =) - Asteron - 2005-11-11 copying files is pretty easy. you will probably want something like this which backs up a file and overwrites it. this is untested but everything you need is in shutil library and os library. Quote:import shutil - Nightspawn - 2005-11-12 (asteron @ nov. 11 2005,06:59 Wrote:copying files is pretty easy. you will probably want something like this which backs up a file and overwrites it. this is untested but everything you need is in shutil library and os library.perfect ~ thank you =) works like a charm =d only problem i now have is that it is loads of script files lol! 44 for kasumi alone (11 skins - 4 different save slots) but i can work on that later - i got what i needed, i really appreciated the help =d - Asteron - 2005-11-13 np, ohh if you also want to launch the xbe do: Quote:import xbmc #put this with the other import statement |