XBMC/KODI error adding addon "structure incorrect"

Richard Beattie picture Richard Beattie · Feb 2, 2015 · Viewed 29.7k times · Source

I'm following the KODI/XBMC hello world addon tutorial here and i downloaded the finished project from here but the problem is that i cannot edit it, as ever time I try to add a version that I edited onto KODI it gives me the error Addon does not have correct structure I think it is the way I'm turning it back into a .zip(I am using the archive utility on a macbook air running yostimite), because even if I just unzip it and then without changing anything turn it back into a zip it still gives me that error, so I'm just wondering does anybody know what I'm doing wrong or do I need to use a special tool to make the plugin into a zip

I'm using openelec 5.0 on a raspberry pi B

Answer

Enigma picture Enigma · Feb 17, 2015

You will need to set it up like this:

  • zip (name doesn't matter)
    • folder with plugin name (ie plugin.program.hello.world)
      • plugin files including addon.xml, LICENSE.txt, changelog.txt, icon.png, etc

You don't need a special tool but you may be inadvertently compressing the zip. You could try Keka (or on SourceForge).