Kodi Community Forum

Full Version: [How to] use GitHub as Repository
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How to

To use GitHub as repository edit addons.xml as follow:

PHP Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="REPOSITORY" name="Add-on Repository" version="1.0.0" provider-name="NAME">
    <extension point="xbmc.addon.repository" name="NAME Add-on Repository">
        <info>https://raw.githubusercontent.com/NAME/REPOSITORY/master/addons.xml</info>
        <checksum>https://raw.githubusercontent.com/NAME/REPOSITORY/master/addons.xml.md5</checksum>
        <datadir zip="true">https://github.com/NAME/REPOSITORY/raw/master/download/</datadir>
    </extension>
    <extension point="xbmc.addon.metadata">
        <summary></summary>
        <description>Add-ons for XBMC</description>
        <disclaimer></disclaimer>
        <platform>all</platform>
    </extension>
</addon> 
In your datadir you are referring to a subfolder that does not exist (/repo)

PHP Code:
http://github.com/moneymaker365/xbmcplus-xbmc-plugins/master/repo 

Gives a 404

Put your add-on folders into a subfolder named "repo" and I think you're good to go
Oh! I'll try. But it is possible to use the root of the "xbmcplus-xbmc-plus" GitHub repository folder?
I'm not sure but I don't think so.

Because
PHP Code:
https://github.com/moneymaker365/xbmcplus-xbmc-plugins/master/ 
Gives a 404 as well, even though it obviously exists.
Yea, meanwhile I think that, too. I've looked at your configuration in GitHub. What automation file do you use for creating compressed files directly to download folder or are you dropping them manually into it?
Yeah, most of it is just done manually as I don't need to change them all that often. But I use OSX's automator app and some shell scripts, but that's mostly for my skin.
Thanks for pointing.