2016-03-12, 18:25
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
How do I go about adding my own keys in the script itself with the new added code?
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?