2016-04-13, 02:36
(2016-04-13, 02:23)DigitalLachance Wrote: So I downloaded the ZIP file for this tutorial and noticed that it has two files in it that don't need to be there (.gitignore and readme.md). I removed .gitignore from the ZIP file and then try to install the add-on but Kodi then says "Failed to install Add-on from zip file". Alright, now I turn on debugging to see what I'll find in the logs and try again. Unfortunately, the logs don't tell me anything useful as to why the add-on failed loding:
Code:18:20:50 T:3808 DEBUG: ------ Window Deinit (FileBrowser.xml) ------
18:20:50 T:3808 DEBUG: CAddonInstaller: installing from zip 'D:\Development\Kodi\plugin.video.example-master.zip'
18:20:50 T:3808 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
Why would deleting that one file cause the add-on to fail loading? Should I found more information in the logs than that?
I'm using Kodi 16.0 on Windows.
Thanks!
Did you just open the archive, remove the file, and then close the archive? This may have caused the zip file to get borked. I think the best practice is to extract the zip to a folder, remove the file, and then re-zip. I'm not a Windows user, so not sure which archive program is best for this, or if the built-in Windows archiving utility is sufficient.
Also, I don't recall having any issues installing from a zip that had extra files. Have you tried installing the zip as downloaded?