Kodi error when installing my add-on
#1
Hello everyone, I have been trying to make my own video add-on as an experiment:

It is based on this guide.
My code for the addon looks like this.

So, the structure is exactly the same as the tutorial, but it contains different video items.
Kodi does want to install the tutorial add-on. But when I try to install mine I get an error. Does anyone know why?

NINJA Edit; I also made sure my file structure is correct. My .zip contains:

Main folder with:
addon.xml
icon.png
main.py
Readme.md
Reply
#2
post a Debug Log so we can see what goes wrong when you try to install it.
whatever is causing it, it's certainly not your main.py code.
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
#3
Should have started with that of course:

kodi.log
Reply
#4
the problem is within your addon.xml file:
Code:
22:35:06 T:1428    INFO: ADDON: cpluff: 'XML parsing error in C:\Users\Luc\AppData\Roaming\Kodi\addons\plugin.video.r4e\addon.xml, line 1, column 3 (not well-formed (invalid token)).'
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
#5
Wow, how did that space end up there. Dumb mistake, thank you!

EDIT: So, I updated both my code (All syntax errors are out now) and xml, but I still run into the following error:

New code:
plugin.video.r4e

Log:
kodi.log

Figured that maybe I had to import parse_qs instead of parse_qsl, but when I did that the add-on did not install anymore.
Reply
#6
Got it!
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi error when installing my add-on1