To view YouTube videos in Kodi (or anything except a browser) a user
must now register for Google's API. Minitube (in the repos) seems to be exempt.
See: https://console.developers.google.com/apis/
Yes, I needed to register as a developer. I needed to link the API to
my Google account. Google Help has published a HOWTO. There are a few walk-through videos on YouTube, but even those from 2019 tend to be out
of date.
I had been notified of this change earlier, but RPMs come with a key put there by Mageia, which worked until this week.
Having obtained my 3-part API key, my next problem was to tell Kodi the details. In Kodi the settings menu entry was disabled, and left me in
an endless loop. Others have found the process equally frustrating. Reading what they had done, the recommended fix was to uninstall the
addon completely, then reinstall it, then cross your fingers. In my
case, there were 3 other addons dependent on YouTube, and Kodi wouldn't
let me remove it.
Finally, I read that the key is stored in a Json file,
~/.kodi/userdata/addon_data/plugin.video.youtube/api_keys.json
The file is quite straightforward. I made a copy of it in my Home directory, completed the required details, then copied it back over the original. On the basis of others' experience, I didn't expect it to
work, but it did.
Doug.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 293 |
Nodes: | 16 (2 / 14) |
Uptime: | 227:32:05 |
Calls: | 6,624 |
Calls today: | 6 |
Files: | 12,171 |
Messages: | 5,318,856 |