Skip to content

Repository files navigation

Kodi GitHub virtual repository

Build StatusCodacy Badge

This add-on creates a virtual repository for Kodi. This way, one does not need to use a GitHub repository for storing add-ons zips when all that information is already accessible from each add-on repository.

It works by setting a HTTP server which has the following endpoints:

EndpointDescription
http://127.0.0.1:{port}/addons.xmlMain xml file containing all add-ons information
http://127.0.0.1:{port}/addons.xml.md5Checksum of the main xml file
http://127.0.0.1:{port}/{addon_id}/{asset_path}Endpoint for serving add-ons assets/zips
http://127.0.0.1:{port}/updateEndpoint for updating repository entries and clearing caches

Installation

Get the latest release from github. Then, install from zip within Kodi.

Add-on entries

In order to know which repositories to proxy, the virtual repository needs to be provided with a list of add-on entries. An example can be found here. Each entry must follow the following schema (also available as json schema):

PropertyRequiredDescription
idtrueAdd-on id.
usernametrueGitHub repository username.
branchfalseGitHub repository branch. If not defined, it will be the commit of the latest release or, in case there are no releases, master branch.
assetsfalseDictionary containing string/string key-value pairs, where the key corresponds to the relative asset location and the value corresponds to the real asset location. One can also set "zip" asset, which is a special case for the add-on zip. If an asset is not defined, its location will be automatically evaluated.
Note: assets are treated as "new style" format strings with the following keywords - id, username, repository, branch, system and arch.
asset_prefixfalsePrefix to use on the real asset location when it is automatically evaluated.
repositoryfalseGitHub repository name. If not set, it is assumed to be the same as the add-on id.
platformsfalsePlatforms where the add-on is supported. If not set, it is assumed all platforms are supported.

About

Kodi add-on repository

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages