- How To Add Addons To Your Kodi Repository
- Updating our Repo:
- Uploading Files To Server
- Video Guide:
- Previous Series Parts
In part 4 of this series, we are going to be showing you how you can add addons to your Kodi repository. This method works for any Kodi repo however, the location of these add-ons in part 4 only pertains to our “How to make a Kodi Wizard & Repo for both Kodi 18 & 19” guide. In other repos, the location where you add your add-ons will be different. Since our Kodi repo works on both versions of Kodi we need to ensure we place them in the right location. Failure to do that will result in errors. We will be walking you through this entire process in this guide.
Adding add-ons to your Kodi Repository is a great way to easily install your favorite add-ons from one location. During normal Kodi setups, you have to enter the URLs for each add-on repository and install them one by one. This process can be very time-consuming. To help cut down on time you can directly add add-ons, scripts, skins, other repositories, and much more directly to your own Kodi repo.
By doing so not only can you install the Kodi Wizard you created but you can also directly install these add-ons from your Kodi repository!
How To Add Addons To Your Kodi Repository
For this guide, we are going to be showing you how you can add a video addon and another repository to your Kodi repo. Keep in mind, you can add any video addon, plugin, repo, and script you’d like. We are only doing this as an example however the process is still the same.
Before we begin we want to point out a few key factors that can cause issues if not done correctly.
One thing to keep in mind is that certain video addons require certain scripts to run. In most cases, these requirements can be found when you are installing the addons in Kodi. You will get presented with a dependency box that lists those requirements. For ones that say optional you can disregard those however if they are required you must include these folders/files in your Repo. Just be sure to take note of what scripts are needed when you install them.
Another key factor to keep in mind is that Kodi 18 addons will NOT work on Kodi 19! If you want to get those addons on both versions you will need to get copies of each version of the addon.
Where to get addons?
There are many ways in which you can get access to these files. You can access them directly from your PC through the sources website, from third-party websites, Github, directly from Kodi, etc. To keep things as simple as possible for those who are new to this, we are going to be showing you how you can obtain these files directly from your PC. If you already know how to obtain these files from their sources then you can skip this step. For those who are new to this, we recommend following the steps below.
Getting a Fresh Kodi installed on our PC
- Start by installing Kodi on your PC.
- If you have been following along with our guides you should already have this installed
- Since we previously put Kodi on our PC, installed our Repo/Wizard, installed our Build, we need to ensure that we do this on a clean copy of Kodi.
- To Install a fresh copy do the following
- open up your %AppData% folder (Using Windows search you can type in that address and it will locate the folder for you)
- Inside the App Data folder click on Roaming folder
- Scroll down that list until you locate your Kodi folder
- Delete the Kodi folder. This will remove anything you put on Kodi.
- If there is a build or something you are working on currently than instead of deleting that folder just rename it. We can recover this folder when we finish. Once you finish this guide, if you want to recover your previous Kodi folder simply return back to the App Data folder, click on Roaming, scroll down the list and delete the “new” Kodi folder, then locate the folder you renamed and name it back to Kodi.
Now that the Kodi folder has been deleted we can start fresh.
Setting up Kodi so we can get the addons
- Go ahead and launch Kodi and install your favorite add-ons, build, etc. Just ensure whatever you are installing has the add-ons you want to be in your Kodi repository.
- Once you have everything installed on Kodi you can close Kodi
- Now that you have everything installed open up your %AppData% folder
- Click on the Roaming folder
- Locate and open up your Kodi folder
- Inside of the Kodi folder click on the addons folder
- Inside this folder you will see a complete list of all addons, scripts, plugins, repositories, or anything else you added to Kodi.
- Now that you have located the folders you need for your Kodi repo simply copy the ones you want to another location. You could make a “Repo Addons” folder on your desktop and copy them there.
Again, MAKE SURE you copy any script folders or anything else that is required! You MUST include this in your Kodi Repo or the addon install will fail! If when you installed the addon it didn’t have any dependencies then you are fine to just copy over the folder of that addon without needing additional content. For example, let’s say you want to include the repository for the crew inside your Kodi repo. You can simply copy the repository.thecrew folder without needing to copy anything else.
Let’s say you have added a video add-on to Kodi (The Oath), when you initially installed this add-on let’s say it needed three dependencies for example:
When you copy the plugin.video.theoath folder make sure you also copy those three script folders above since they will be needed in order for the video addon to be installed. Again, this is only an example just make sure you are making copies of the folders you need.
Adding Addons To Our Repository:
Now that you have obtained all the addon folders and files you need we now need to add them to our Kodi Repo folder. In this example, we are only going to be adding the video addon YouTube to our repository. Again, this process works the same for whatever addons you want to add including scripts, plugins, repositories, etc.
One thing to keep in mind when you are adding your addons; make certain you copy these folders and paste them into the correct location in your Kodi Repo. Addons meant for Kodi 19 should go in the matrix folder NOT leia!
To add your addons to your Kodi repository do the following:
- Open up your master folder
- Next, depending on which version of Kodi the addons are for you either need to open up your leia folder or matrix.
- For this example, we are adding the video addon YouTube for Kodi 19 so we need to open up our matrix folder.
- This is your Repo! You should see that you currently have your plugin.program.YOUR NAME (aka Your Wizard), and your repository.YOUR NAME folder.
- Now go ahead and paste any addon folder you want to include in your repo inside this folder. For example we are only adding the video addon YouTube to our matrix repo. This video addon doesn’t require any special dependencies so we are only going to be copying this one folder. See the example below:
If you are adding a lot of content to your repo yours may look similar to this:
Updating our Repo:
In order to ensure that all of your users get the most current version of your repo, we need to force Kodi to update this information. Kodi users can manually check for updates or we can force it. We always recommend that you change your version numbers anytime you make changes. This helps to ensure that you always get the latest updates when they are made availaible.
Since we have only edited our Repo content we only need to change that version number. Our Kodi Wizard we created earlier has not been touched in this guide so it doesn’t need updating. To update your Repo version numbers follow the steps below.
- Open up your master folder
- Next, open up your repository.YOUR NAME folder
- Now open up the addon.xml file using Notepad++
- Change the version number from 2.0 to 2.1 or whatever the next number is for your current version
- Save your changes
- Next, return back to your master folder and open up the leia folder
- Open up your repository.YOUR NAME folder and then open up addon.xml
- Make the same changes to the version number
- Repeat those steps for the matrix folder
- By now all of your repository.YOUR NAME folders should be edited with your new version number
Zipping up our new folder/files:
Now that you have added your addon folders to your repo and changed your repo version numbers it’s time to zip these new folders/files up.
- Return back to your master folder
- Click on _repo_xml_generator.py file
- Open up leia folder
- Find and click on the _repo_xml_generator.py file
- Return back to your master folder and open up the matrix folder
- Lastly, click on the _repo_xml_generator.py file
To ensure this process worked open up the folder where you added your new addons. This will be either your leia or matrix folder (or both). Inside that folder locate and open up the zips folder. You should now see all of that content has been added to your zips folder. If you return back to your master folder and open up the zips folder there you should see repository.YOUR NAME. If you open that up you should now see two zip files. One for repo version 2.0 and one for 2.1.
- Copy the zip file for your repos new version and paste it inside your master folder. For this example we opened up our master folder, opened up zips, opened repository.myfirestreams, and copied repository.myfirestreams-2.1.zip file. We then pasted it into our master folder as shown below.
Go ahead and remove your previous repository.YOUR NAME version zip from your master folder. We only need our most current version in here so we removed 2.0 and left 2.1 as shown below.
Preparing for upload:
Now that we have added all of our content to our repo, updated our version number, and created our new zips we now need to tell Kodi how to access this new repo zip. In order to do this we need to edit our index.html file which is located inside our master folder.
Go ahead and right-click on index.html and select open with Notepad++
On this file we need to change our repsoitory version number to match our newest version. For this example, we are removing 2.0 and replacing it with 2.1 as shown below.
Be sure to save your work!
Uploading Files To Server
Now that we have finished editing everything we need to reupload these folders/files to our server. Simply open up your web server and upload your files again, replacing the older ones. For more information on how to upload these folders and files from your master folder to your server please review previous parts in this series. By now if you have been following along you should know how to do this and which folders need uploading.
Once you have finished your server should look similar to this:
If you notice we still have our repository.myfirestreams-2.0.zip file showing on our server main directory. This is because it was already uploaded. You can remove this old zip or leave it as a backup. For now, we are going to remove ours.
Now open up Kodi and you should see your new addons when you select install from repository>Your Repository. If you do not see that your repository has been updated and it still shows the old version number you can either reinstall your repo or manually check for updates. Once you do that it should show your newest version.
Previous Series Parts
Do you want a single Kodi Wizard and Repo that works on both Kodi 18 and 19 versions? Look no further! In this guide, we will be showing you how you can easily make your very own Kodi Wizard and Repo that can be used on both Kodi versions. This guide does require that the …
This guide on how to add a custom Kodi Build is a continuation to our “How to make a Kodi Wizard & Repo for both Kodi 18 & 19” guide. This build guide does NOT work for our “simple Kodi Wizard guide“. If you followed our guide “how to make a Kodi Wizard (complex wizard …
In part 3, we are going to be covering how you can customize your Kodi Wizard & Repo. These customization options include managing your settings, colors, text, and more. We will also be showing you how you can easily notify your users about these changes. Most importantly, we are going to walk you through the …
Have issues with this part? Drop us a comment below or visit our forums for more support!