(2016-11-10, 03:43)jdf76 Wrote: (2016-11-10, 03:08)nola mike Wrote: Trying to get this working, and am getting quota exceeded messages. Using the 5.3.1 plug in. I tried all of the built in apis. I (think) I was able to set up my own api and would like to try it. What file and what values do I modify? I know it can be done through the settings, but it would take me forever using a remote. I'd like to cut and paste. Libreelec Jarvis if it makes a difference.
$KODI/userdata/addon_data/plugin.video.youtube/settings.xml
<setting id="youtube.api.enable" value="false" />
<setting id="youtube.api.id" value="" />
<setting id="youtube.api.key" value="" />
<setting id="youtube.api.secret" value="" />
There you go.
once you got the API installed use the settings to check it's enabled.
jeff
@
jdf76
Thanks for this magnificent work and all the effort you put in this to keep Youtube add-on alive.
I just followed your instructions to create a personal API key and I want to share with everybody here some issues that I faced in the process.
After creating the API KEY, Client ID and Secret Client Key I proceeded to find the SETTINGS.XML of the add-on in the address you pointed but, since I have Kodi installed on a Windows computer I couldn't find it there, the location for windows users is in:
Code:
C:\Users\YOUR-USERNAME\AppData\Roaming\Kodi\userdata\addon_data\plugin.video.youtube
Next step was modifying the XML file and here was where I got a little bit confuse... as you can see, the code doesn't say CLIENT ID nowhere and I was placing the key of the CLIENT ID in the API KEY field, then I opened Kodi and tested the changes and I was getting an error, so, I switched those values to:
Code:
<setting id="youtube.api.enable" value="false" /> goes TRUE
<setting id="youtube.api.id" value="" /> goes CLIENT ID
<setting id="youtube.api.key" value="" /> goes API ID
<setting id="youtube.api.secret" value=" /> goes SECRET CLIENT ID
I opened Kodi and tested again and got other error message, so I went to search for the log file and found this:
Code:
ERROR: [plugin.video.youtube] Error reason: |accessNotConfigured| with message: |Access Not Configured. YouTube Data API has not been used in project 0123456789 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/youtube/overview?project=0123456789 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.|
I headed to the link inside the log file, clicked enable, tested again and finally it worked.
I hope this helps out to people like me that don't have a clue about what exactly an API KEY is and does.