Check kodi addons or whole kodi repositories for errors and best practices.
Project description
Kodi Addon checker
This tool checks the Kodi repo for best practices and produces a report containing found problems and warnings.
It can also be used locally for detecting problems in your addons.
Features
-
Checks if artwork is available and if the size is as defined
-
Checks if all artworks(images/fanart/screenshot) are valid.
-
Checks if addon.xml and license file exists for an addon.
-
Checks if all xml files are valid.
-
Check if all the json files are valid.
-
Checks if the addon id in addon.xml matches with the folder name.
-
Checks if the addon uses the old strings.xml translation format.
-
Check if the addon uses the old language folders (English vs resource.language.en_gb).
-
Checks for various blacklisted strings.
-
Check for blacklisted filetypes.
-
Check for new dependencies present in addon.xml files.
-
Check the complexity of the entrypoint files for addon.
-
Check if addon already exists in any of lower repositories
-
Check if addon is compatible with python3 or not
-
Check specific version attribute
-
Validate addon.xml against schemas
All of the validation and checks are done according to the kodi addon rules
Installation
- You will need Python3.
Then you can directly install it from pip package:
pip install kodi-addon-checker
For Developement
- Clone the repository
git clone https://github.com/xbmc/addon-check
cd <path-to-cloned-repo>
- Install the requirements:
pip install -r requirement.txt
Usage
-
If you are in add-on directory:
- Execute
kodi-addon-checker
- Execute
-
If you want to run it from any other directory
- Execute
kodi-addon-checker <path-to-addon>
You can use the tool with the following options:
--version version of the tool
--branch name of the branch the tool is to run on
--PR only when the tool is running on a pull request
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for kodi-addon-checker-0.0.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 669630ae163964f244d2d5ef5df1789ee330b690a5fa82ccb36982f149b6d5f3 |
|
MD5 | aca30d96289bed7ac410ae6bc1d1889a |
|
BLAKE2b-256 | 6268e008d0ac8269d9d7a0984896d249bda408e94da9dfbf2276600f907badc2 |
Hashes for kodi_addon_checker-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ce8637166aafbc534711a1d012d582f68737f57bd53994ec58b4c81cc938d65 |
|
MD5 | 2c3f3f8de613068da9aca73e400ec913 |
|
BLAKE2b-256 | 2febc7b4f7c8fd469f46f62bdf90127dfb65b4f0dc0b271cce7453f6899d1fc4 |