BelowBasic / WikipediaScraper

opensource Kodi Movie-Scraper auf Wikipedia basis
GNU General Public License v3.0
0 stars 0 forks source link

KODI add-on #2

Closed BelowBasic closed 1 month ago

BelowBasic commented 2 months ago

Check out how to implement a KODI add-on and what we have to pay special attention to.

BelowBasic commented 2 months ago

https://kodi.wiki/view/Python_libraries

BelowBasic commented 2 months ago

Project Structure of a Kodi Addon

addon.py
addon.xml
LICENSE.txt
resources/
  settings.xml
  language/
  lib/
  data/
  media/
  fanart.jpg (can be placed anywhere in the addon directory)
  icon.png (can be placed anywhere in the addon directory)
  banner.jpg (optional - can be placed anywhere in the addon directory)
  clearlogo.png (optional - can be placed anywhere in the addon directory)
  screenshot-1.jpg (optional - can be placed anywhere in the addon directory)
  screenshot-2.jpg (optional - can be placed anywhere in the addon directory)
  screenshot-3.jpg (optional - can be placed anywhere in the addon directory)
  screenshot-4.jpg (optional - can be placed anywhere in the addon directory)
BelowBasic commented 2 months ago

If you already have installed a Kodi addon, you can edit this addon live in the appdata/roaming/Kodi/addons/ to update it.

If you try to uninstall the addon & reinstall it via zipfile, you will get an Error until you restart the Kodi application.

wichris commented 2 months ago

Created a Branch for the Hello World addon.

It's important to name the ZIP folder and the id in the XML file (line 2) the same.

JordanWalther commented 1 month ago

Created a Branch for the Hello World addon.

It's important to name the ZIP folder and the id in the XML file (line 2) the same.

During ZIP installation procedure in kodi, also make sure that the ZIP folder only contains the 'addon' directory with specific files on top level.