zip, and unzip it, rather than using it as a template. If you want to host your Kodi repo on a different host besides GitHub Pages, simply download this repository as a. ADVANCED - How to set up for hosting without GitHub Pages If you named it something else, it will be: If you named this repository YOUR_USERNAME_ (as recommended), your file manager source will be: Next, scroll down to the "GitHub Pages" section, choose the default branch (or whichever you chose when modifying your addon.xml) as the source, and click "Save". Generally, GitHub Pages repositories are named YOUR_USERNAME_, but it can be whatever you'd like. In the first box, labeled "Repository name", change your repository's name. Make your repository zip installable inside KodiĬopy the zip file of your repository, located at REPO_FOLDER/zips/ADDON_ID_HERE/ADDON_ID_HERE-VERSION_NUMBER_HERE.zip,Įdit the link inside index.html to reflect your add-on's filename, as seen on line 1:Īfter committing and pushing these changes to your repo, go to the "Settings" section for this repository on GitHub. As of version 3, this script can create distributions for Krypton, Leia, Matrix, and Nexus, as well as the generic "repo", which is intended to serve to any version (like for the repository itself, or any cross-version libraries and dependencies). zips of all of the desired add-ons, and place them in subfolders called zips, along with the generated addons.xml and 5. In order for your repository to be able to differentiate which add-ons to serve, you'll need to add a new dir section to your addon.xml, that defines which versions should be served.Īfter adding your source folders, simply run _repo_generator.py. ![]() For example, /leia for a Leia-focused repo, or /matrix for a Matrix-focused one. ![]() Place your add-on source folders into a folder named after the version of Kodi you wish to serve from it, instead of /repo. Different add-ons to different versions (advanced) Place your add-on source folders in the repo folder of this repository. It is designed to handle multiple versions of Kodi (for example, to serve different add-ons to Leia than are served to Matrix), and single repositories that serve the same add-ons to all Kodi versions. zip files for each included add-on, as well as generating the necessary addons.xml and 5 files, so that Kodi can infer the contents of the repo. The _repo_xml_generator.py script included in this repository with build. If you choose not to use submodules, you'll need to simply copy the source folders directly into this repository. ![]() For ease of updating included add-ons, the recommended method of doing this is via Git Submodules, which are supported by many Git clients, as well as the Git terminal. To build the repository, first place the add-on source folders for whichever add-ons you'd like to be contained in your Kodi repo inside this repository. icon.png should be 512x512 px, and fanart.jpg should be 1920x1080 px, or a similar ratio.įinally, rename the repository.example folder to match whatever add-on ID you chose earlier. While not required, it is also recommended to replace icon.png and fanart.jpg in the repository.example folder with art relevant to your repository or the add-ons contained within.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |