Kodi Community Forum
Can't install .zip add-on: "invalid 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: Can't install .zip add-on: "invalid structure" (/showthread.php?tid=355413)



Can't install .zip add-on: "invalid structure" - plucka - 2020-06-24

I have an add on which isnt maintined and I've made a fix.

I wish to zip it up and install on my Nvidia Shield, but when I zip it and install I get

Can't install .zip add-on: "invalid structure"

The original structure of the zip hasnt changed, Ive literally changed 3 lines in 2 files

Is there a special way I need to zip the file or something else I need to change?


RE: Can't install .zip add-on: "invalid structure" - V8MEM - 2020-06-24

https://kodi.wiki/view/Mac_FAQ#Add-ons_downloaded_from_the_internet_are_not_in_zip_format_or_will_not_install


RE: Can't install .zip add-on: "invalid structure" - ronie - 2020-06-24

there's a few reasons why that could happen.
please check if any of them applies to your zip file:
https://forum.kodi.tv/showthread.php?tid=352690&pid=2932936#pid2932936


RE: Can't install .zip add-on: "invalid structure" - Klojum - 2020-06-24

In being so mysterious and uninformative, there is not much we can do.
"I've changed something." Right... Which add-on is this about?


RE: Can't install .zip add-on: "invalid structure" - plucka - 2020-06-24

(2020-06-24, 11:46)Klojum Wrote: In being so mysterious and uninformative, there is not much we can do.
"I've changed something." Right... Which add-on is this about?

Its the callback plugin, there is a fix on github for it but the author hasnt pulled.

I downloaded the zip, extracted applied the fix, zipped it up again and it doesnt recgonise the new zip


RE: Can't install .zip add-on: "invalid structure" - plucka - 2020-06-24

(2020-06-24, 11:45)ronie Wrote: there's a few reasons why that could happen.
please check if any of them applies to your zip file:
https://forum.kodi.tv/showthread.php?tid=352690&pid=2932936#pid2932936
Thanks none of those extra files. Very strange.


RE: Can't install .zip add-on: "invalid structure" - plucka - 2020-06-24

(2020-06-24, 11:45)ronie Wrote: there's a few reasons why that could happen.
please check if any of them applies to your zip file:
https://forum.kodi.tv/showthread.php?tid=352690&pid=2932936#pid2932936

Your post got me thinking that the structure had changed and indeed I had one too many folder depth

When I extracted package.name it extracted into folder package.name which contained package.name

When zipping I was zipping the outer folder rather than the inner folder this was the issue thanks for help


This forum uses Lukasz Tkacz MyBB addons.