Posts: 35
Joined: Jun 2011
Reputation:
0
CSB!
Junior Member
Posts: 35
Hi all,
I have written a script, which works of course, but when I try to package it for distribution as a zip file, it simply will not install. There is no output to the log, even at debug level.
Is there a published spec for what is required in the zip file, I can't seem to find one.
Posts: 2,368
Joined: Mar 2010
Reputation:
60
giftie
Skilled Python Coder
Posts: 2,368
The zip needs to contain the complete folder of the script.
So:
script.test <- foldername
---->addon.xml
---->addon.py <- or what ever you have in addon.xml for library=
---->changelog <- not necessary but nice to have
---->icon.png
---->LICENCE.txt <- also not necessary but needed for the offical repo
---->resourses <- sub folder containing more of your script if needed.
Also, you need to make sure that XBMC has permission to over write the files in the addons folder(sometimes permissions get changed when you manually copy)
Posts: 2,529
Joined: Apr 2009
Reputation:
8
The lack of logging is an issue... I had some problem and it turned to be the addon.xml
make a new copy of a working addon.xml and only change the bare minimum making sure not introducing any windows line breaks or anything else. To be safe edit it in linux (if feasable)