Repository help
#1
Question 
Hi Guys,

I'm trying to setup my own repository on github but I keep getting an "Addon does not have correct structure" error when I try and install the repo zip.
I've followed the wiki and have the following in the addon.xml in the zip:

<extension point="repository.mxtv.xbmc-addons"
name="MXTV XBMC Add-on Repository">
<info compressed="true">https://github.com/MXTV/repository.mxtv.xbmc-addons/raw/master/addons.xml</info>
<checksum>https://github.com/MXTV/repository.mxtv.xbmc-addons/raw/master/addons.xml.md5</checksum>
<datadir zip="true">https://github.com/MXTV/repository.mxtv.xbmc-addons/raw/master/repo</datadir>
</extension>

Any ideas where I've gone wrong?
Reply
#2
Try changing datadir zip to false since those are not zipped in your Github repo.
Reply
#3
At a quick glance I don't think name is a valid attribute of <extension>

You should paste the whole xml file.

A sneak would use a known working xml file and slowly change it until it looks like the one you want.
Reply
#4
The problem is quite simple I think. You are zipping the addon the wrong way or you are using Apple which dumps some extra junk in the zip file
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
#5
Thanks for the replies. I actually set it up on Googlecode after getting nowhere with github. It worked first time! Not sure if there was a setting on github that I may of missed?
Reply
#6
(2014-02-23, 15:40)SpaceMonkey Wrote: Try changing datadir zip to false since those are not zipped in your Github repo.

I'm having similar issues, I'm using Dropbox as yours spacemonkey
But my test repo is not showing noting
Can you help me with some tips for the correct structure for the folders

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon
    id="repository.warlion.gotham"
    name="WarLion's Add-ons for XBMC 13"
    version="1.0.0"
    provider-name="WarLion">
    <extension point="xbmc.addon.repository"
        name="WarLion's Add-on Repository">
        <info>https://dl.dropboxusercontent.com/u/74610008/addons/gotham/addons.xml</info>
        <checksum>https://dl.dropboxusercontent.com/u/74610008/addons/gotham/addons.xml.md5</checksum>
        <datadir zip="true">https://dl.dropboxusercontent.com/u/74610008/addons/gotham</datadir>  
    </extension>
    <extension point="xbmc.addon.metadata">
        <summary>WarLion's Add-ons for XBMC</summary>
        <description>Download and install Add-ons for XBMC 13.</description>
        <disclaimer>-</disclaimer>
        <platform>all</platform>
    </extension>
</addon>
Reply
#7
Well my repo isn't working either anymore for some reason so i might not be the best person to guide you.

If that is still the correct structure, under your gotham directory you'll need the add-on directory for each add-on you want to distribute. Use add-on id's as directory names. Under each add-on put these files in:

- addon.xml
- changelog-version.txt
- fanart.jpg
- icon.png
- addonname-version.zip

addons/gotham/someaddon/addon.xml
addons/gotham/someaddon/someaddon-1.0.zip


And so on.
Reply
#8
Thanks spacemonkey I will do some more test I appreciate
Reply
#9
----
Reply

Logout Mark Read Team Forum Stats Members Help
Repository help0