Table of Contents
API Key Creation
This page outlines how to create your own set of API keys for use with the YouTube add-on.
- Sign in at https://console.developers.google.com/
NOTE: youtube.com/activate and google.com/device go to the same place.
Configure the Add-on
The final step is to add your keys to the YouTube add-on, this can be done using one of the following methods.
Method 1
Configure the add-on:
Settings -> API -> Enable personal API keys= ENABLEDSettings -> API -> API Key= API KEY HERESettings -> API -> API Id= CLIENT ID HERESettings -> API -> API Secret= CLIENT SECRET HERE
Method 2
Configure the add-on:
Settings -> API -> Enable personal API keys= ENABLEDSettings -> API -> API Key= BLANK/EMPTYSettings -> API -> API Id= BLANK/EMPTYSettings -> API -> API Secret= BLANK/EMPTY
Enable the api configuration page, to enable this go to the Settings - API and enable Enable API configuration page
You should then be able to update your keys by visiting http://<IP of Kodi device>:<port>/youtube/api
The port used is Settings - HTTP Server - Port which by default is 50152
You can bookmark the results page for quick updates in the future. Be sure to disable this feature after use.
Method 3
Configure the add-on:
Settings -> API -> Enable personal API keys= ENABLEDSettings -> API -> API Key= BLANK/EMPTYSettings -> API -> API Id= BLANK/EMPTYSettings -> API -> API Secret= BLANK/EMPTY
Shutdown Kodi
Manually edit userdata/addon_data/plugin.video.youtube/api_keys.json
Note: With this method you'll need to remove .apps.googleusercontent.com from your Client ID
{
"keys": {
"developer": {},
"personal": {
"api_key": "API KEY HERE",
"client_id": "CLIENT ID HERE",
"client_secret": "CLIENT SECRET HERE"
}
}
}
Restart Kodi
Sign In
During the add-on Sign in process you'll be asked to Connect a device twice.
The second time you Connect a device, you will be prompted with:
This app isn't verified
This app hasn't been verified by Google yet. Only proceed if you know and trust the developer.
From there clicking Advanced and Go to <your project name> (unsafe) allows you to complete the process.
Note:
If you are unable to complete this, you may also need to enable "Less secure app access" which is disabled by default.
Once logged into your Google account, visit https://myaccount.google.com/lesssecureapps