Posts: 204
Joined: Oct 2012
Reputation:
1
powlo
Senior Member
Posts: 204
2013-04-23, 17:13
(This post was last modified: 2013-04-23, 19:01 by powlo.)
Hi,
I'm trying to make my own repo. See here:
<old url, no longer valid>
When I try to install it I get "Addon does not have the correct structure". There's nothing in the log file to indicate where parsing went wrong, and I've followed other examples to the best of my ability. XML validation with xmllint passes. Does "correct structure" refer to xml structure, or file structure, or that there's a file missing from the file hierarchy?
Why isn't this working?
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
your linked zip works fine for me.
typically, it's cause by extra directories inside the zip. osx adds hidden crap. always.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
you hopped off irc before i had the time to answer.
the reason it shows up empty is that script.modules are hidden in the gui. your add-on declares two extension points, python.script.module and python.script. i assume you want to expose the script bit; to do so you have to put the visible extension point first in the list. i.e. move the xbmc.python.script extension point before the script module extension point.
Posts: 204
Joined: Oct 2012
Reputation:
1
powlo
Senior Member
Posts: 204
Thanks, changing the order around worked a treat.
This puzzles me somewhat though. Why should the order I define my extensions in matter? What would happen if I created an addon that was a pure module extension? How would I be able to install it from a repo?
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
this was a choice on my part when i designed the repository system.
to avoid cluttering the list, and to avoid giving the impression that one can install just one extension point provided by an add-on, the first one given will be the category used to decide whether or not it should actually show in the gui. a module doesn't do anything on its own, and for that reason is hidden. it will be installed as a dependency on something (ie script/plugin) that uses it.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
2013-04-26, 15:00
(This post was last modified: 2013-04-26, 15:01 by spiff.)
yup. everything listed in requires is resolved and installed if missing.
Posts: 2
Joined: Sep 2013
Reputation:
0
I keep getting the say responce. I put Fusion on and trying to add repo list can you help ?
Posts: 6,339
Joined: Jul 2010
Reputation:
116
artrafael
Team-XBMC Forum Moderator
Posts: 6,339
And please don't hijack someone else's thread on an unrelated matter.
Posts: 1
Joined: Dec 2015
Reputation:
0
hey all,
I'm kind of new to the whole kodi program. but when i typed in "addon does not have right structure" this link poped up. i read the earlier posts but im not that computer savvy...yet. if anybody sees this post please help if you know what this message is conveying
thanks in advance