Help - Addon does not have correct structure

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
gbzygil Offline
Junior Member
Posts: 9
Joined: Aug 2012
Reputation: 0
Question  Help - Addon does not have correct structure Post: #1
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....
find quote
divingmule Offline
Posting Freak
Posts: 1,278
Joined: Oct 2008
Reputation: 54
Post: #2
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>
find quote
gbzygil Offline
Junior Member
Posts: 9
Joined: Aug 2012
Reputation: 0
Post: #3
Thanks for your reply.
Still no luck Sad
Tried renaming the zip to : plugin.video.passioncitychurch-1.0.0.zip that didnt help too....
find quote
divingmule Offline
Posting Freak
Posts: 1,278
Joined: Oct 2008
Reputation: 54
Post: #4
Check /addons/packages/ and remove any zip of your add-on.
find quote
gbzygil Offline
Junior Member
Posts: 9
Joined: Aug 2012
Reputation: 0
Post: #5
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 ?
find quote
gbzygil Offline
Junior Member
Posts: 9
Joined: Aug 2012
Reputation: 0
Post: #6
Well, i figured out how to enable debugging, setting loglevel and setting icon\fanart.
Thanks
find quote
mikey1234 Offline
Fan
Posts: 433
Joined: Nov 2011
Reputation: 18
Post: #7
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
(This post was last modified: 2013-02-22 11:17 by mikey1234.)
find quote
gbzygil Offline
Junior Member
Posts: 9
Joined: Aug 2012
Reputation: 0
Post: #8
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....
find quote