Posts: 967
Joined: May 2017
Reputation:
83
i think it will take some one that know there way round python to check the code
the way is see it there are parts out of date
addons.xml
<addon id="plugin.video.youtube" name="YouTube" version="6.6.0" provider-name="anxdpanic, bromix">
youtube_authentication.py
def sign_in(addon_id):
"""
To use the signed in context, see youtube_registration.py and youtube_requests.py
Usage:
addon.xml
---
<import addon="plugin.video.youtube" version="6.1.0"/>
---
.py
---
import youtube_registration
import youtube_authentication
def sign_out(addon_id):
"""
Usage:
addon.xml
---
<import addon="plugin.video.youtube" version="6.1.0"/>
---
.py
---
import youtube_registration
import youtube_authentication
youtube_registration.register_api_keys(addon_id='plugin.video.example',
api_key='A1zaSyA0b5sTjgxzTzYLmVtradlFVBfSHNOJKS0',
client_id='825419953561-ert5tccq1r0upsuqdf5nm3le39czk23a.apps.googleusercontent.com',
client_secret='Y5cE1IKzJQe1NZ0OsOoEqpu3')
Posts: 783
Joined: May 2016
Reputation:
280
Neither of those are used by/or use the YouTube add-on, so I'm not sure what we're talking about now.
Posts: 14
Joined: Sep 2016
Reputation:
0
the youtube app stopped working today. it said my api key was no longer valid. so i went to the gethub link posted above and re-entered the api codes. no dice, it rejected them and started a contant reload loop that forced me to close kodi from the task manager. so i uninstalled the youtube app only for it to ask for the old two code entry to google.com/device which no longer exists. can someone help me get the app working again? im using kodi (latest update, just updated from the site) for PC.
Posts: 50
Joined: Feb 2013
Reputation:
1
2020-02-25, 14:25
(This post was last modified: 2020-02-25, 14:45 by Wojtek.)
My current status: in a quest for a half-decent YT experience on a big screen I need to delete access_manager.json and re-authorize Kodi after each and every video viewed. My playlists (Subscriptions and Watch Later) bail out with "Unauthorized client for this playlist" right after video ends.
My Google API project is "external" and "not published", which - perhaps - is the reason it gets unauthorized constantly. So I just have sent a verification request.