Oh, I had to literally fight my way through the vast array of my (obsolete and mismatched) API keys. Ended up with creating new credentials from scratch. If this helps anybody, my workflow was as follows:
- first creating new API keys and credentials using
https://github.com/jdf76/plugin.video.yo...l-API-Keys
Then I had to:
- stop kodi (
systemctl kodi stop)
- remove
both ~/.kodi/userdata/addon_data/plugin.video.youtube/access_manager.json and api_keys.json manually
- edit ~/.kodi/userdata/addon_data/plugin.video.youtube/settings.xml and remove all traces of old api keys by deleting them from:
<setting id="youtube.api.id">oldID</setting>
<setting id="youtube.api.key">oldkey</setting>
<setting id="youtube.api.secret">oldsecret</setting>
- create new ~/.kodi/userdata/addon_data/plugin.video.youtube/api_keys.json (
touch api_keys.json) with following content:
{
"keys": {
"developer": {},
"personal": {
"api_key": "newkey",
"client_id": "newID",
"client_secret": "newsecret"
}
}
}
(substitute your key, ID and secret, generated using the procedure linked on top of this post, obviously)
Finally - started Kodi again (
systemctl kodi start), opened the Youtube add-on, signed on, all works now. Thanks @
anxdpanic for your help!
(for reference - I am on latest official Coreelec)