2016-02-09, 13:05
(2016-02-09, 12:12)vader74 Wrote: how do i do this im not on windows im using a openelec verison on an sd card
(On Windows it's located here - C:\Users\username\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\youtube\client
Within the file login_client.py find the section that corresponds to the version of KODI that you're using in my case I'm running version 15.2
youtube-for-kodi-15': {
'system': 'Isengard',
'key': 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
'id': 'bbbbbbbbbbbbbbbbbbbbbbbbbbbbb.apps.googleusercontent.com',
'secret': 'ccccccccccccccccccccccccccc'
Enable SSH, remote login to your Pi, use Putty or something. Then find the Kodi addons directory (google will be your friend), it's probably /storage/.xbmc/addons/ from a quick google. Navigate down using ls and cd, then use nano to edit the python file. If all of this is mumbo jumbo then I'm sure there are better guides via google.