Kodi Community Forum
Add-on does not have the correct structure - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: Add-on does not have the correct structure (/showthread.php?tid=170967)



Add-on does not have the correct structure - jamix - 2013-08-10

I'm trying to add a dummy add-on to XBMC and I'm getting the "Add-on does not have the correct structure" error.

Filename: plugin.video.rockpeaks-0.1.0.zip
Contains: addon.xml, default.py

addon.xml looks like this:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<addon id="plugin.video.rockpeaks" version="0.1.0" name="RockPeaks" provider-name="jamix">
    <requires>
        <import addon="xbmc.python" version="2.1.0"/>
    </requires>
    <extension point="xbmc.python.pluginsource" library="default.py">
        <provides>video</provides>
    </extension>
    <extension point="xbmc.addon.metadata">
        <summary>Plays live music videos from RockPeaks</summary>
        <description>Choose from a huge selection of live music videos available at RockPeaks</description>
        <platform>all</platform>
    </extension>
</addon>

default.py contains nothing but a few lines of comments.

The .zip is being created in Windows XP, so there's no extra Mac OS junk inside.

Any suggestions appreciated.


RE: Add-on does not have the correct structure - divingmule - 2013-08-10

Zip File: plugin.video.rockpeaks-0.1.0.zip
Filename: plugin.video.rockpeaks
Contains: addon.xml, default.py

Should work ^


RE: Add-on does not have the correct structure - sphere - 2013-08-11

(2013-08-10, 14:21)divingmule Wrote: Zip File: plugin.video.rockpeaks-0.1.0.zip
Filename: plugin.video.rockpeaks
Contains: addon.xml, default.py

Should work ^

Correct, but to make it more clear:
The zip should contain a folder named like your add-on ID containg the required files.
Zip File: plugin.video.rockpeaks-0.1.0.zip
Filename: plugin.video.rockpeaks
Contains: plugin.video.rockpeaks\addon.xml, plugin.video.rockpeaks\default.py


RE: Add-on does not have the correct structure - jamix - 2013-08-12

That helped, thank you very much!


RE: Add-on does not have the correct structure - sam2112 - 2014-03-15

Hi Guys,
I'm a beginner for this Resberry Pi and XBMC 2.0.8, I need your help

I am installing add-ons From Fusion Hub [Install From zip file] but no matter whatever I try to install it says "ADD ONS DOES NOT HAVE THE CORRECT STRUCTURE"

Please help me in this

Thanks in advance.Blush


Re: Add-on does not have the correct structure - nickr - 2014-03-16

Go ask fusion. Nothing to do with xbmc.org.


RE: Add-on does not have the correct structure - shadax - 2014-11-08

(2014-03-16, 00:10)nickr Wrote: Go ask fusion. Nothing to do with xbmc.org.

Well how VERY helpful!!No


Re: RE: Add-on does not have the correct structure - nickr - 2014-11-08

(2014-11-08, 18:11)shadax Wrote:
(2014-03-16, 00:10)nickr Wrote: Go ask fusion. Nothing to do with xbmc.org.

Well how VERY helpful!!No

I see you are new here. Welcome to the forums.

Being new here you might not realise that fusion is a banned topic here.


RE: Add-on does not have the correct structure - naveengautam002 - 2016-12-21

hi,i m following the skinning tutorial of kodi . (unzip the "skin.confluence.zip" and customize it )
and zip it again after edit .i try to add it but it gave me a error "add-on does not correct structure"
i m using raspberry pi 3
Thanks,