Sunday, April 16, 2017

How to fix youtube plugin error "quota limit exceeded" on Kodi ( example illustrating OSMC)

Problem: Recently, you might have started getting an error "quota limit exceeded" when you are trying to use youtube plugin on Kodi.

Cause: Reason is - youtube plugin uses google API to get information. Non-paid version has certain Quota limit per day per API Key.

Fix: You can generate and add your own API Key and Secret.

How to Fix it?

I use OSMC on Raspberry Pi. It runs Kodi 16 and youtube plugin. I am listing file path below from my system. It may vary depending on which platform you are using youtube plugin of Kodi.

- Go to https://console.cloud.google.com
- Click on top down-drop error and click 'Create project'. Name it something like - kodi_youtube
- Go to 'API Manager' -> Credentials
- Click Credentials Tab and click 'Create Credential'
- Create API Key and OAuthr 2.0 Client ID as per below document
  https://support.google.com/cloud/answer/6158857?hl=en
- Now you have three strings (1) Client ID (2) API Key (3) Client Secret
- ssh to you kodi installation.
- Add or update (if already existing) below lines in settings.xml (my osmc absolute path is be)
>>>File Name: /home/osmc/.kodi/userdata/addon_data/plugin.video.youtube/settings.xml
>>>You need to add following lines

   
   
   



And you are done! Did this step help you?


Also refer this article.