2016-03-12, 19:56
Don't do it there. Future add-on updates will wipe your changes.
This may not be your exact path, but modify here: kodi/userdata/addon_data/plugin.video.youtube/settings.xml. You will see where to edit.
This should hold your changes even with add-on updates unless you need to delete the userdata/...../...youtube folder for some reason.
This may not be your exact path, but modify here: kodi/userdata/addon_data/plugin.video.youtube/settings.xml. You will see where to edit.
This should hold your changes even with add-on updates unless you need to delete the userdata/...../...youtube folder for some reason.
(2016-03-12, 18:25)kgoerbig Wrote: Running OSMC on RPi2. For the time being, the YT addon is working on the latest update 5.1.20.4.
I know I can add my own api key through YT settings in Kodi, but to be honest entering in long keys with a remote is kind of a pain.
1. cd /home/osmc/.kodi/addons/plugin.video.youtube/resources/lib/youtube/client
2. nano login_client.py
Code:# API KEY for search and channel infos. These should work most of the time without login to safe some quota
'youtube-for-kodi-quota': {
'token-allowed': False,
'system': 'All',
'key': '%s' % api_key, <-----------------------------------------------------------------
'id': '%s.apps.googleusercontent.com' % api_id,
'secret': '%s' % api_secret
How do I go about adding my own keys in the script itself with the new added code?