repositories
#1
I am trying to understand addon.xml found in repos. It is quite logical except 1 thing; let's see this in example:

Code:
    <extension point="xbmc.addon.repository" name="WhiteCream repo">
        <dir>
            <info compressed="false">https://offshoregit.com/tvaresolvers/tva-common-repository/raw/master/addons.xml</info>
            <checksum>https://offshoregit.com/tvaresolvers/tva-common-repository/raw/master/addons.xml.md5</checksum>
            <datadir zip="true">https://offshoregit.com/tvaresolvers/tva-common-repository/raw/master/zips/</datadir>
        </dir>    
        <info compressed="false">http://offshoregit.com/whitecream/addons.xml</info>
        <checksum>http://offshoregit.com/whitecream/addons.xml.md5</checksum>
        <datadir zip="true">http://offshoregit.com/whitecream/</datadir>
    </extension>

As you can see there is extension point that defines repo and name and under it is "info" which points to the addons.xml file. OK, so far so good. BUT! There is a <dir> tag which ALSO contains info tag which points to another addons.xmlHuh

What is the difference between two? If I just need content of a repo, which do I use, ine under <extension> or one under <extension><dir> Huh

Thanx!

D.
Reply
#2
dir is/was for "overlays". the one under <extension> is base, then the stuff is dir is either appended or override the stuff from the one under extension.
consider a base repo that works on all kodi versions. then you can have an overlay with specific versions for a specific kodi version.

i believe the whole <dir> thing has been deprecated and replaced by a more involved generator script.

tldr; you do not need to use <dir>.
Reply
#3
The dir is still there iirc
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#4
Well I have noticed in some repos:

Code:
        <dir minversion="14.0.0">
        <dir minversion="16.0.0">
        <dir minversion="16.9.9">

etc, that is probably for different versions. 16.9.9 is Krypton probably because of teh alpha/beta releases?
Reply
#5
yeah.
Reply

Logout Mark Read Team Forum Stats Members Help
repositories0