2010-10-15, 19:13
Hi guys,
I am currently working on a plugin for xbmc4xbox in order to be able to run xbmc addons on XBox (This part mostly works), but I have discovered the step done during the install of the addons are very important.
For instance I know xbmc is checking the dependency during the install reading at the file addon.xml, here an example of dependency:
Could you tell me how do you retrieve the script.module?
Are you looking at all the possible repository registered with XBMC, or are you looking for it just on the official repository?
I have to reproduce this mechanism since obviously letting the user copy the directory of an addons at the right place won't guarantee a valid install.
Another question right now, xbmc support repository with zip file or directory, are there other user cases?
Also if you could forward me on the C++ file doing the install and download, as well any design documentation that could be useful.
One last question (sorry for asking this one), I have seen addon with addon.py and other with default.py (as plugins and scripts), which one is supposed to be the right one? Both?
Thank you in advance for your help.
I am currently working on a plugin for xbmc4xbox in order to be able to run xbmc addons on XBox (This part mostly works), but I have discovered the step done during the install of the addons are very important.
For instance I know xbmc is checking the dependency during the install reading at the file addon.xml, here an example of dependency:
Code:
<requires>
<import addon="xbmc.python" version="1.0"/>
<import addon="script.module.beautifulsoup" version="3.0.8"/>
<import addon="script.module.cryptopy" version="1.2.5"/>
<import addon="script.module.common.playback" version="0.0.1"/>
</requires>
Could you tell me how do you retrieve the script.module?
Are you looking at all the possible repository registered with XBMC, or are you looking for it just on the official repository?
I have to reproduce this mechanism since obviously letting the user copy the directory of an addons at the right place won't guarantee a valid install.
Another question right now, xbmc support repository with zip file or directory, are there other user cases?
Also if you could forward me on the C++ file doing the install and download, as well any design documentation that could be useful.
One last question (sorry for asking this one), I have seen addon with addon.py and other with default.py (as plugins and scripts), which one is supposed to be the right one? Both?
Thank you in advance for your help.