
The addon is attached, I would be very happy if anyone could take a quick look at it, I have probably done a newbie error

Here is the addon (can't find the attach button?):
http://www.mediafire.com/?g96tv2815ij9bb6
toxicious
Junior Member Joined: Oct 2011 Reputation: 0 Location: Sweden |
2012-04-08 23:56
Post: #1
I have made a minimalistic addon which I am unable to get the right structure on, XBMC complains when I install it as a zip that the structure is faulty. I have no idea what is wrong
![]() The addon is attached, I would be very happy if anyone could take a quick look at it, I have probably done a newbie error ![]() Here is the addon (can't find the attach button?): http://www.mediafire.com/?g96tv2815ij9bb6
(This post was last modified: 2012-04-08 23:57 by toxicious.)
|
| find quote |
giftie
Skilled Python Coder Posts: 2,036 Joined: Mar 2010 Reputation: 35 |
2012-04-09 00:13
Post: #2
Your addon.xml is missing a few things. The <requires> and the <provides>
Corrected below Code: <?xml version="1.0" encoding="UTF-8" standalone="yes"?>So far, that's all I see... ![]() For troubleshooting and bug reporting please make sure you read this first you can also use XBMC Log Uploader Script. Cinema Experience Cinema Experience Wiki cdART Manager fanart.tv
(This post was last modified: 2012-04-10 01:23 by giftie.)
|
| find quote |
toxicious
Junior Member Joined: Oct 2011 Reputation: 0 Location: Sweden |
2012-04-09 00:57
Post: #3
Thanks for correcting that, didn't even know I needed a "require" for the python code.
The "provides" tag is undocumented at the wiki, so maybe someone with a little knowledge on what it does should change that ![]() Though the addon still refuses to install, same error as before (structure). So there must be something else wrong. What structure does it check, is it only the addon,xml or does it check the files and so on too? |
| find quote |
Martijn
Team-XBMC Joined: Jul 2011 Reputation: 114 Location: Dawn of time |
2012-04-09 01:59
Post: #4
It also checks the .zip file structure.
Grab a zip file from another plugin and see how it's done Always read the XBMC online-manual, FAQ and search the forums before posting. Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules. For troubleshooting and bug reporting, make sure you read this first For your mediacenter artwork go to ![]() |
| find quote |
toxicious
Junior Member Joined: Oct 2011 Reputation: 0 Location: Sweden |
2012-04-09 22:44
Post: #5
Done that, but I can't see any errors
![]() God dammit, why can't xbmc just tell me what the fault is? |
| find quote |
Bstrdsmkr
Fan Posts: 648 Joined: Oct 2010 Reputation: 12 |
2012-04-10 00:26
Post: #6
It may not know what the error is. It looks for a few specific things (which are different depending on your addon.xml) and if it doesn't find them, it has no idea where else to look.
In your case, I think leave out the <provides> tag and see what happens |
| find quote |
giftie
Skilled Python Coder Posts: 2,036 Joined: Mar 2010 Reputation: 35 |
2012-04-10 01:11
Post: #7
(2012-04-10 00:26)Bstrdsmkr Wrote: It may not know what the error is. It looks for a few specific things (which are different depending on your addon.xml) and if it doesn't find them, it has no idea where else to look. Good find.. I just tested his script on my system, installed fine.. Strange how my script has the <provides>(where I took the info from), I think is it a left over from early Dharma... I changed the addon.xml that I posted that is equivalant to the one that successfully installed(just incase someone falls on this thread in the future.) ![]() For troubleshooting and bug reporting please make sure you read this first you can also use XBMC Log Uploader Script. Cinema Experience Cinema Experience Wiki cdART Manager fanart.tv
(This post was last modified: 2012-04-10 01:26 by giftie.)
|
| find quote |
Bstrdsmkr
Fan Posts: 648 Joined: Oct 2010 Reputation: 12 |
2012-04-10 17:36
Post: #8
Lucky guess lol. I hadn't seen it set like that before and my addons work fine without it so I figured it was worth a shot lol
|
| find quote |