Kodi Community Forum
Release YouTube (IMPORTANT - READ FIRST POST) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: Release YouTube (IMPORTANT - READ FIRST POST) (/showthread.php?tid=200735)



RE: YouTube (IMPORTANT - READ FIRST POST) - jdf76 - 2016-03-08

yes you need the apps.googleusercontent.com.

if you manually edit the file do NOT change youtube-tv at all.

You need the API key,

The Secret and the Client ID as oauth is how you get your subscriptions. I would honestly use the default if you can. the keys should be good unless you really need your own API keys.


RE: YouTube (IMPORTANT - READ FIRST POST) - garfin - 2016-03-08

Hmm.. Tried it both with and without the .apps.googleusercontent.com and still its a fail... reverting to 'default' works fine of course.
I must have not generated them correctly, or i'm really bad at CTRL-C / CTRL-V Smile


RE: YouTube (IMPORTANT - READ FIRST POST) - jdf76 - 2016-03-08

did you enable the API

https://console.developers.google.com/apis/enabled?project=[youprojectname]&authuser=1

check to make sure it's enabled.


RE: YouTube (IMPORTANT - READ FIRST POST) - garfin - 2016-03-08

YouTube Data API v3 is one of the 8 'enabled' API's, yes..

Create credentials to access your enabled APIs. Refer to the API documentation for details.

API keys

Name Creation date Type Key

Browser key 1 Mar 7, 2016 Browser AIzaxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxcw

OAuth 2.0 client IDs

Name Creation date Type Client ID

Web client 1 Mar 7, 2016 Web application 5248xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxb2q.apps.googleusercontent.com


RE: YouTube (IMPORTANT - READ FIRST POST) - DjDiabolik - 2016-03-08

(2016-03-07, 01:01)Kolifanes Wrote: New release https://github.com/Kolifanes/plugin.video.youtube/releases/tag/5.1.20.5
With the fix by clarjon1

Click on link i obtain error 404 Smile

And here:
https://github.com/Kolifanes/plugin.video.youtube/releases/

I can't see this x.x.20.5 Smile


RE: YouTube (IMPORTANT - READ FIRST POST) - jdf76 - 2016-03-08

I had for OAuth

Client ID
152347971393-dha76jglupvc01q67cunpjkevgj4rcdi.apps.googleusercontent.com
Client secret
t-IY24MgwEmYgXHg2jbT1lBk
Creation date
Feb 25, 2016, 4:08:06 PM

I deleted the keys so pasting them isn't not really a concern


RE: YouTube (IMPORTANT - READ FIRST POST) - jdf76 - 2016-03-08

It was rolled back i wouldn't worry about it.

Jeff

(2016-03-08, 02:15)DjDiabolik Wrote:
(2016-03-07, 01:01)Kolifanes Wrote: New release https://github.com/Kolifanes/plugin.video.youtube/releases/tag/5.1.20.5
With the fix by clarjon1

Click on link i obtain error 404 Smile

And here:
https://github.com/Kolifanes/plugin.video.youtube/releases/

I can't see this x.x.20.5 Smile



RE: YouTube (IMPORTANT - READ FIRST POST) - DjDiabolik - 2016-03-08

(2016-03-08, 02:16)jdf76 Wrote: It was rolled back i wouldn't worry about it.

Jeff

(2016-03-08, 02:15)DjDiabolik Wrote:
(2016-03-07, 01:01)Kolifanes Wrote: New release https://github.com/Kolifanes/plugin.video.youtube/releases/tag/5.1.20.5
With the fix by clarjon1

Click on link i obtain error 404 Smile

And here:
https://github.com/Kolifanes/plugin.video.youtube/releases/

I can't see this x.x.20.5 Smile
No problems..... i'm a fan of the "last version ever" Smile


RE: YouTube (IMPORTANT - READ FIRST POST) - garfin - 2016-03-08

Oh maybe i misunderstood...
In the new UI there are 3 'api' fields. Am i meant to change all 3, or just the two that relate to OAuth ? (cause i've been trying to change all 3)


RE: YouTube (IMPORTANT - READ FIRST POST) - DjDiabolik - 2016-03-08

(2016-03-08, 02:16)jdf76 Wrote: I had for OAuth

Client ID
152347971393-dha76jglupvc01q67cunpjkevgj4rcdi.apps.googleusercontent.com
Client secret
t-IY24MgwEmYgXHg2jbT1lBk
Creation date
Feb 25, 2016, 4:08:06 PM

I deleted the keys so pasting them isn't not really a concern

Stupid question............... also i have .apps.googleuser etc etc............. i stay to edit my setting.xml for put my API Keys, on API.ID i need to put all or i need to obmit the final "googleuser.com" part ?


*EDIT*
Answered myself: I need to put all my ID whit googleuser.com part final or the plugins it's not working Smile


RE: YouTube (IMPORTANT - READ FIRST POST) - *Spider* - 2016-03-08

Not sure how anyone could be messing this up.
For me it works without the .apps.googleusercontent.com in the string.
Do the double authentication before changing the API keys .
After adding your API keys, logout and login.
This method has worked for me on a Raspberry Pi and Nexus Player.
If after following these steps it still doesn't work, then stick with the default settings and call it a day.


RE: YouTube (IMPORTANT - READ FIRST POST) - jdf76 - 2016-03-08

No there are 3 API fields. OAuth only has 2, and the web is your 3rd. Unfortunately i never got the personal API stuff to work on my end so i can't offer a person experience.

Jeff


RE: YouTube (IMPORTANT - READ FIRST POST) - jdf76 - 2016-03-08

Honestly unless you need to change to your own API, i would just stay with the defaults.

Jeff


RE: YouTube (IMPORTANT - READ FIRST POST) - DjDiabolik - 2016-03-08

(2016-03-08, 02:35)*Spider* Wrote: Not sure how anyone could be messing this up.
For me it works without the .apps.googleusercontent.com in the string.
Do the double authentication before changing the API keys .
After adding your API keys, logout and login.
This method has worked for me on a Raspberry Pi and Nexus Player.
If after following these steps it still doesn't work, then stick with the default settings and call it a day.

Very interesting.... becouse i have put whitout final part and i obtain error when i try to use the "search" function Smile I have put all and it's working. It's possibly it's the different case if you use the add-on logged in or not ? I never use the add-on whit my gmail login Wink


RE: YouTube (IMPORTANT - READ FIRST POST) - jdf76 - 2016-03-08

Looking back i think i found the guy who wrote the API instructions

2213129 (post)