Can't install .zip add-on: "invalid structure"
#1
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?
Reply
#2
https://kodi.wiki/view/Mac_FAQ#Add-ons_d...ot_install
Reply
#3
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
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#4
In being so mysterious and uninformative, there is not much we can do.
"I've changed something." Right... Which add-on is this about?
Reply
#5
(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
Reply
#6
(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.
Reply
#7
(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
Reply

Logout Mark Read Team Forum Stats Members Help
Can't install .zip add-on: "invalid structure"0