Help with correcting the structure of my addon - 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 with correcting the structure of my addon (/showthread.php?tid=128241) |
Help with correcting the structure of my addon - toxicious - 2012-04-08 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 RE: Help with correcting the structure of my addon - giftie - 2012-04-09 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... RE: Help with correcting the structure of my addon - toxicious - 2012-04-09 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? Re: Help with correcting the structure of my addon - Martijn - 2012-04-09 It also checks the .zip file structure. Grab a zip file from another plugin and see how it's done RE: Help with correcting the structure of my addon - toxicious - 2012-04-09 Done that, but I can't see any errors God dammit, why can't xbmc just tell me what the fault is? RE: Help with correcting the structure of my addon - Bstrdsmkr - 2012-04-10 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 RE: Help with correcting the structure of my addon - giftie - 2012-04-10 (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.) RE: Help with correcting the structure of my addon - Bstrdsmkr - 2012-04-10 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 RE: Help with correcting the structure of my addon - menno - 2013-08-11 Could anybody help with mine? I got the same error tried everything; www.***.nl/script.video.sopcast-remote-server.zip Never mind, got it~!!! |