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 requirements.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.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b05239a373b1cff9671ee81ceff98fe6f5c4ab02d2519b871c13dd3b02bf4a97 |
|
MD5 | a8d6af10673f590018751c6d03f01d4a |
|
BLAKE2b-256 | ae36954e16195350fe69ad3827077f4a3425345a6df5d76a4e8faba6bddd830a |
Hashes for kodi_addon_checker-0.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e26a7fc163ed672204a4893c0670d74764c1e461f41e42163d3fb4ca3f88d92d |
|
MD5 | 40495d2ed05770846947d986c3776837 |
|
BLAKE2b-256 | 83f05e9f8559ee71848332a245e4728ff4c5d9b2ee5b4e26ad6d472e1059e95d |