Solved repo structure for multiple Kodi versions of the same addon?
#10
(2017-03-26, 09:25)Gade Wrote: Well, the wiki is open for everyone to edit. Wink

I've requested a wiki account. Here is my proposed change. What do you think?
http://kodi.wiki/view/Add-on_repositories

4.4 Multiple Kodi Versions

To support multiple Kodi versions from the same repository add seperate directories for each version of addon you need to support, specifying a minversion for that folder.
For example:
Code:
    <extension point="xbmc.addon.repository"
        name="Official XBMC.org Add-on Repository">
        <dir minversion="16.0.0">
            <info compressed="true">http://mirrors.kodi.tv/addons/jarvis/addons.xml</info>
            <checksum>http://mirrors.kodi.tv/addons/jarvis/addons.xml.md5</checksum>
            <datadir zip="true">http://mirrors.kodi.tv/addons/jarvis</datadir>
            <hashes>true</hashes>
        </dir>
        <dir minversion="17.0.0">
            <info compressed="true">http://mirrors.kodi.tv/addons/krypton/addons.xml</info>
            <checksum>http://mirrors.kodi.tv/addons/krypton/addons.xml.md5</checksum>
            <datadir zip="true">http://mirrors.kodi.tv/addons/krypton</datadir>
            <hashes>true</hashes>
        </dir>
</extension>

Add your addon to the directory of the lowest version that it will be compatible with. Use a higher version number for later Kodi versions.
Each directory needs it's own addons.xml and addons.xml.md5 folder for the addons in that directory.
Reply


Messages In This Thread
RE: repo structure for multiple Kodi versions of the same addon? - by primaeval - 2017-03-26, 09:51
Logout Mark Read Team Forum Stats Members Help
repo structure for multiple Kodi versions of the same addon?1