2005-04-19, 22:17
hi,
xbmcscripts.com will launch a xml service sometime in the not awfully near future (along with a script for direct download to the xbox) and with that change all scripts will have to be in a certain format before submission or else they won't be approved. this change will of course be announced on the main page.
why do we need a common script package format?
this has a simple answer - xbmc integration (ala scriptrunner). in order to install scripts easily and show information from them there needs to be a standardized format.
this is what i have in mind at the moment.
-zip only (there's no rar libs for python afaik and no support for it in xbmc)
- all information about the script (changelog, whatever) is to be displayed in "readme.txt" inside the script.
- thumbnails is to be called "thumb.png"
all of this is open for suggestions. now i also need suggestions for how to handle the installation of the scripts. i am thinking of perhaps a xml inside the script with various information like name of script, version, launch file, description. this file would be up to the authors to make of course and would serve as information in the launcher. of course the xml could include data for name of readme and thumb, but files should be called that in either case i think. anything else that should be in?
there is one problem that exists with todays script, which is that many needs to be edited. this could be solved with all settings stored in xml and an editor inside the download script could edit it. it's rather hard to use xml in python though if you are a newbie which is a drawback, but maybe if someone wrote a good tutorial.
again, please, i need you input. anything that would make things easier to achieve is greatly appreciated.
xbmcscripts.com will launch a xml service sometime in the not awfully near future (along with a script for direct download to the xbox) and with that change all scripts will have to be in a certain format before submission or else they won't be approved. this change will of course be announced on the main page.
why do we need a common script package format?
this has a simple answer - xbmc integration (ala scriptrunner). in order to install scripts easily and show information from them there needs to be a standardized format.
this is what i have in mind at the moment.
-zip only (there's no rar libs for python afaik and no support for it in xbmc)
- all information about the script (changelog, whatever) is to be displayed in "readme.txt" inside the script.
- thumbnails is to be called "thumb.png"
all of this is open for suggestions. now i also need suggestions for how to handle the installation of the scripts. i am thinking of perhaps a xml inside the script with various information like name of script, version, launch file, description. this file would be up to the authors to make of course and would serve as information in the launcher. of course the xml could include data for name of readme and thumb, but files should be called that in either case i think. anything else that should be in?
there is one problem that exists with todays script, which is that many needs to be edited. this could be solved with all settings stored in xml and an editor inside the download script could edit it. it's rather hard to use xml in python though if you are a newbie which is a drawback, but maybe if someone wrote a good tutorial.
again, please, i need you input. anything that would make things easier to achieve is greatly appreciated.