Updating scripts files, and the pyc and pyo
#1
When updating scripts from xbmcscripts.com, I get new py files. But what about those pyc and pyo files? Those are compiled version (i guess) of it, but what happens when XBMC has newer py files but older pyc/pyo files? Will the latest py files be reloaded and the compiled files are updated automatically?

Or do I have to reload modules every time in my script to counter it?
Check out my XBMC scripts at http://xbmc.ramfelt.se
Reply
#2
The pyo and pyc should get overwritten if the py is newer. In some circustances people supply only the pyc. Asteron and the other coders have used this approach for the online game scores so people cannot manipulate the files to cheat.
Server: FreeNas 9 NAS: 6*3TB - Kodi Sql Database
Kodi Systems: Nvidia Shield Pro, G-Box Q (OpenElec), RikoMagic MK802 IV[
Skin: reFocus
Reply

Logout Mark Read Team Forum Stats Members Help
Updating scripts files, and the pyc and pyo0