Youtube Add-on Fix

Moderador: Moderadores

Avatar do Utilizador
Mr_QuIm
Administrador & CEO
Administrador & CEO
Mensagens: 2640
Registado: sexta abr 27, 2007 5:17 pm
Localização: Aveiro
Género:
Contacto:
Quim’s avatar
A carregar…

Youtube Add-on Fix

Mensagem por Mr_QuIm »

Deixo aqui um tutorial em inglês (Quando tiver tempo faço uma versão portuguesa do mesmo), a explicar o que devem fazer para que o youtube deixe de vos dar problemas, visto que o criador do mesmo deixou de dar continuidade e ultimamente os seus utilizadores têm tido alguns problemas com o add-on do Youtube.


Código: Selecionar todos

First uninstal the YOUTUBE addon (you probably don't have to do this but it was just cleaner this way I didn't have to delete any folders)

 Then reinstal the YOUTUBE addon... don't sign in

 Close KODI


 Thent go to
https://console.developers.google.com/apis/

 Click on Credentials, then New Credentials, then API key, and select Browser Key, give it a name and click Create (this creates the KEY)

 Then back to Credentials
 Click on Credentials, then New Credentials, then OAuth Client ID, select Other, give it a name and click Create (this creates the ID and SECRET)

 At this point you've got 2 sets of credentials

 Edited 02/06/16
 Verify that the Youtube API is enabled

 Go to
https://console.developers.google.com/apis/enabled
 Verify that you see YouTube Data API v3 in the list

 If it is NOT in the list go to
https://console.developers.google.com/apis/library

 Click on the link for YouTube Data Api
 Click on Enable API at the top

 Go back to
https://console.developers.google.com/apis/enabled

 Verify that YouTube Data API v3 is now in the list

 End of edit 02/06/16


 Locate the file - login_client.py
 (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'

 Set the Key to the Browser API key you created first
 Set the ID to the OAuth Client ID you created second
 Set the Secret to the Client Secret shown in OAuth Client ID

 (Make sure that you're copying and pasting these between the quote marks)

 Save the updated login_client.py file

 Then launch KODI
 Select the YOUTUBE Addon
 Select SIGN IN

 Then do the 2 x activation thing where you go to
 youtube.com/activate

 Enter the code from KODI, click NEXT then click ALLOW
 Then enter the second code from KODI, click NEXT, then ALLOW

 And that should be it... mine seems to be working...
Administrador/WebMaster do site e do forum!

Imagem

Imagem

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Registe-se

Sign in