ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Kodi​Dev​Kit

by MikeSiLVO ST4

ST4 plugin to help with Kodi skinning / scripting (IDE-like)

Details

Installs

  • Total 801
  • Win 498
  • Mac 115
  • Linux 188
Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

KodiDevKit

License Sublime Text

A Sublime Text 4 plugin for Kodi skin and addon development. Provides validation, intelligent tooltips, auto-completion, JSON-RPC integration, and more.

Documentation

  • Validation: on-save XML checks and full-skin reports covering variables, includes, maps, labels, fonts, IDs, images, XML structure, file integrity and the Kodi repo rules.
  • Features: tooltips, auto-completion, keyboard shortcuts, fuzzy searches, context menu, JSON-RPC commands, Kodi log integration, building the skin.
  • Settings: every setting with type, default, and description.
  • Skin Shortcuts: how KodiDevKit handles runtime-generated content from script.skinshortcuts.

Requirements

  1. Sublime Text 4 or later.
  2. Project structure: Open your Kodi addon root as the only folder (File > Open Folder or a saved project).
  3. Configuration: Settings are under Preferences > Package Settings > KodiDevKit. Set kodi_path to your Kodi installation folder to read Kodi's own language and color files; without it, copies bundled for each Kodi release are used.

Installation

Package Control (recommended): Install Package Control if you don't have it, then open the Command Palette (Ctrl+Shift+P), select “Package Control: Install Package”, and search for “KodiDevKit”.

Manual: Clone into your Sublime Text Packages folder:

# Windows
cd "%APPDATA%/Sublime Text/Packages"

# macOS
cd "~/Library/Application Support/Sublime Text/Packages"

# Linux
cd "~/.config/sublime-text/Packages"

git clone https://github.com/MikeSiLVO/KodiDevKit.git

Restart Sublime Text after installing.

Command line

The same checks run without Sublime Text in kdk, a standalone validator for CI and the terminal: pip install kdk, then kdk validate <skin folder>.

License

GNU General Public License v3.0+

Based on the original KodiDevKit by Philipp Temminghoff (phil65), Copyright © 2015-2019, licensed GPL-3.0-or-later.

Bundled Kodi data

data/ carries reference data taken from Kodi, Copyright © Team Kodi, licensed GPL-2.0-or-later and used here under GPL-3.0-or-later:

  • data/kodi/<release>/ - colors.xml and strings.po, copied verbatim by scripts/refresh.py.
  • data/<release>/data.xml - builtin and boolean-condition names with their descriptions, taken from the Kodi sources and maintained by hand.
  • data/<release>/infonames.json - the infolabel and boolean-condition names Kodi's parser accepts, taken from the Kodi sources.
  • data/<release>/windows.json and obsolete_windows.json - window names, ids and files, taken from the Kodi sources.
  • data/addon_schema/ - addon.xml schemas copied verbatim from kodi-addon-checker, Copyright © Team Kodi, licensed GPL-3.0-only.