back to top
Saturday, December 7, 2024
spot_img

YouTube on Kodi: Setup Personal API

Share This Post

You have installed latest version of Kodi on your system, Grabbed YouTube from the repo just to encounter error “Quota Exceeded” or “Daily Limit Exceeded” or “Setup Personal API from Setting”. The fix is simple and require you to setup a private API Key from Google Developer Console. See the steps below.

How to Install YouTube Kodi Addon:

  • From the home screen, select Add-ons > Add-on Browser
  • Select Install from Repository > Kodi Addon repository > Video Add-ons > YouTube > Install
  • Wait for Add-on enabled notification

The installation is straightforward. You should now see the YouTube icon in My Addons -> Video Addons. Open it, Run the first time wizard and follow the onscreen steps. Now configure the Kodi YouTube add-on as per below information:

  • Settings -> API -> Enable personal API keys = ENABLED
  • Settings -> API -> API Key = BLANK/EMPTY
  • Settings -> API -> API Id = BLANK/EMPTY
  • Settings -> API -> API Secret = BLANK/EMPTY

Enable the API web-configuration page, to enable this go to the Settings – API and enable “Enable API configuration page”. You should now be able to update your keys by visiting http://<IP of Kodi device>:<port>/api

The port used is Settings – HTTP Server – Port which by default is 50152

How to Set Up a Personal API Key for YouTube on Kodi

1. Create a Project in Google Cloud Console:
Go to the Google Cloud Console and log in with your Google account.
Click on “Create Project” in the top left menu.
Enter a project name (the name doesn’t matter) and click “Create.”
Wait until the project is created.

2. Enable the YouTube Data API:
Click on the Google APIs logo at the top left corner of the screen.
Click “Library” in the left menu.
Under the YouTube section, find “YouTube Data API V3” and click “Enable.”

3. Create API Credentials:
Click “Create Credentials” at the right side of the screen.
Choose “YouTube Data API v3” from the “Which API are you using” drop-down list.
Select “Web server (e.g., node.js, Tomcat)” for the “Where will you be calling the API from” drop-down list.
For the “What data will you be accessing” radio button, choose “Public data.”
Click “What credentials do I need.”
Copy your API key by clicking the copy icon next to it and save it to a text file for later use.

4. Configure OAuth Consent Screen:
Click “OAuth consent screen” in the left menu.
Choose “External” for the User Type radio button.
Enter an application name (the name doesn’t matter).
Select your email address from the “User support email” drop-down list.
Scroll down to the “Developer contact information” section and enter your email address (use the same address as before).
Click “Save and Continue.”

5. Add Test Users:
In the Scopes screen, click “Save and Continue.”
Click “Add Users.”
Enter your email address (use the same address as before) and click “Add.”

6. Create OAuth Client ID
Click “Credentials” in the left menu.
Click “Create Credentials” in the top menu and select “OAuth Client ID.”
Choose “TV and Limited Input devices” for the Application type drop-down list.
Copy your Client ID and Client Secret and save them to a text file for later use.

7. Configure Kodi YouTube Add-on
Launch Kodi and navigate to Add-ons > YouTube.
Click “Settings” and hover over “API.”
Enable “Allow developer keys.”
Enter the API key you saved earlier and click “OK.”
Enter the Client ID and Client Secret you saved earlier and click “OK.”
Click “OK” in the Settings menu.

Now your Kodi YouTube add-on should work without any API errors. Enjoy streaming YouTube content directly within Kodi! YouTube Kodi: Setup Personal API

Pilāni
clear sky
24.2 ° C
24.2 °
24.2 °
14 %
2.7kmh
0 %
Sat
22 °
Sun
25 °
Mon
21 °
Tue
22 °
Wed
22 °

Related Posts

Using Seeed Studio mmWave Module with ESPHome

In the ever-expanding universe of smart technology, the fusion...

Raspberry Pi Automatic Fans Using L298n PWM

Welcome, We all know Raspberry Pi SBC Likes to...

MotionEye on Raspberry Pi: Proper Surveillance Software?

Welcome to another Raspberry Pi Post, this time we...

DIY Home Automation: ESP Home & Home Assistant

ESPHome is a powerful tool that simplifies the process...

Raspberry Pi Zero Explained: Comparing the Zero Family

The Raspberry Pi Zero series, known for its compact...

Aliens Guide to Earth’s Solar System

Position 00 - The Sun. Position: #0. The gravitational...
- Advertisement -spot_img