Kodi Community Forum

Full Version: Can't install .zip add-on: "invalid structure"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
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...pid2932936
In being so mysterious and uninformative, there is not much we can do.
"I've changed something." Right... Which add-on is this about?
(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
(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...pid2932936
Thanks none of those extra files. Very strange.
(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...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