Kodi Community Forum
Help - Addon does not have 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: Help - Addon does not have correct structure (/showthread.php?tid=157021)



Help - Addon does not have correct structure - gbzygil - 2013-02-21

Hi,
I created my first video addon.
It simply goes to a website, fetch video links (mov files).
Trying to install it on xbmc12 and i'm getting "Addon does not have correct structure" error.

zip file name : plugin.video.passioncitychurch.zip

contents : addon.xml , addon.py

addon.xml has :
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.passioncitychurch" name="Passion City Church Messages Addons" version="1.0.0" provider-name="gbzygil">
  <extension point="xbmc.python.pluginsource" library="addon.py">
    <provides>video</provides>
  </extension>
  <extension point="xbmc.addon.metadata">
    <language></language>
    <platform>all</platform>
    <summary lang="en">XBMC Addon for Passion City Church weekly messages</summary>
    <description lang="en">This addon shows you weekly message videos from Passioncitychurch.com</description>
  </extension>
</addon>

Can someone plz tell me what i am doing wrong?

Thanks....


RE: Help - Addon does not have correct structure - divingmule - 2013-02-21

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.passioncitychurch" name="Passion City Church Messages Addons" version="1.0.0" provider-name="gbzygil">
  <requires>
    <import addon="xbmc.python" version="2.1.0"/>
  </requires>
  <extension point="xbmc.python.pluginsource" library="addon.py">
    <provides>video</provides>
  </extension>
  <extension point="xbmc.addon.metadata">
    <language></language>
    <platform>all</platform>
    <summary lang="en">XBMC Addon for Passion City Church weekly messages</summary>
    <description lang="en">This addon shows you weekly message videos from Passioncitychurch.com</description>
  </extension>
</addon>



RE: Help - Addon does not have correct structure - gbzygil - 2013-02-21

Thanks for your reply.
Still no luck Sad
Tried renaming the zip to : plugin.video.passioncitychurch-1.0.0.zip that didnt help too....


RE: Help - Addon does not have correct structure - divingmule - 2013-02-21

Check /addons/packages/ and remove any zip of your add-on.


RE: Help - Addon does not have correct structure - gbzygil - 2013-02-21

Install an XP VM and did the same thing there, and now it gets installed !!! I guess mac was doing something more during compression which xbmc didnt like.
Now more road blocks.
1. Getting script error while trying to run the addon. Where do i see script error logs ? (is it xbmc.log?)
2. I didnt have an icon initially. Uninstalled the addon, added an icon,png, updated the Addon name in the xml and re-installed the addon. Still i do not see the icon \ new script name. (Tried restarting XBMC, no luck). How can i clear the cache ?


RE: Help - Addon does not have correct structure - gbzygil - 2013-02-22

Well, i figured out how to enable debugging, setting loglevel and setting icon\fanart.
Thanks


RE: Help - Addon does not have correct structure - mikey1234 - 2013-02-22

if you wer zipping in mac os it normally creates a

ds.store folder

thats why it wont install


just delete textures.db and addons.db from

userdata/Database


RE: Help - Addon does not have correct structure - gbzygil - 2013-02-22

Awesome, that did it. Thanks
Now only if i could figure out how to generate thumbnails for the .mov files that i have scraped out....


RE: Help - Addon does not have correct structure - nashtndeac06 - 2014-10-24

HOLY CRAP!!! i actually got it to work. it only took 2 weeks. Folks the end of the world might be coming. Thanks for all the help and for everyones work on the add on. Time for some Predators hockey!