• 1
  • 199
  • 200
  • 201
  • 202(current)
  • 203
Release YouTube
(2025-01-29, 18:31)otinley Wrote: Then you are doing something wrong.
Keep on trying & Good luck.

It works now. I had to do it twice. The first time it asks me to enter the code, then my account validates. But then it asks me to do it again. This time it does not validate because of risk, I force the validation so that it takes it into account to accept a second time
Reply
Yes, all that was clearly listed within the last 20 posts or so.
Including this post which mentions having to sign in twice.
Reply
@Arcueid - you need to update the addon yourself, no one else can do it for you. @otinley has already replied to you with the link to the required update. Please take the time to read the instructions provided to you.

@garzie99 - your issue is that you have the wrong type of OAuth credentials. It needs to be "TV or Limited input devices".

Once you have created these new details you can enter then in exactly the same way you did before via SSH, just make sure you delete the old details in the API settings page of the addon and then ensure Kodi is turned off before copying the new file across or editing the existing file.

Use of the http server is not related to the Kodi http settings, so there is no password required. Check `YouTube > Settings > Advanced > HTTP Server > Listen address` to see what IP address is being used.

If that is not accessible, use the Setup Wizard to configure the addon first.
Reply
thanks for the help Mooj 

actually - my 0Auth page is saying the API is for "TV and limited input devices" - see snapshot below 
Image

can you help me understand why you thought the API type was wrong ?

good to know i can load the API's manually by editing the api JSON over SSH  - will try that  - 
just to clarify - i do that in the same order - step 10 i think  - in the instructions posted ?

i know the webserver issues is not an addon issue as such  - as far as i can track it down - the webserver is not running ( kodi gives that message when i try other functions ) 

there seems to be some odd behaviour with my box that just started happening where after the box boots the wifi connection fails to connect  - i can reconnect it in settings - connections - but the webserver seems to shut down when it doesn't detect a wifi connection on start up  - and whatever i do after that doesn't seem to get it running again.
so it seems related to some errant start up behaviour and i will likely have to do a fresh install to cure that  - just info in case its of use t anyone else
Reply
Garzie99,
Did you update both API & client ID that includes a new secret key?
You have a creation date of 2020 for them.
You need new ones in order for the addon to function properly.
Reply
(2025-01-27, 17:21)SpottedDog Wrote:
(2025-01-27, 16:21)otinley Wrote: @SpottedDog 
You missed updating to 7.20 Beta 5 as well I guess.

https://github.com/MoojMidge/plugin.vide...e/releases
Tried upgrading to 7.20 Beta 5 and same result. I did keep the config settings when I unistalled the old version
EDIT:Success. I ran the setup up page again and it works...Thanks
So it worked for one session and then when I rebooted a day or two later I could not sign in. I am not sure but could this be connected to the fact that I also have a Roku streamer (in addition to the PC with Kodi and Youtube)with Youtube tied to my Google account?
Reply
(2025-01-30, 13:55)otinley Wrote: Garzie99,
Did you update both API & client ID that includes a new secret key?
You have a creation date of 2020 for them.
You need new ones in order for the addon to function properly.

no these are the API details that were working fine until a week ago

i was hoping i could avoid doing that as its just more room for error on my part - and yet more tail chasing ( when you only mess with this stuff once a year its v easy to mess up) 

will try all new API's and report back  - once my patience quota has recovered sufficiently 

thanks for your help!
Reply
(2025-01-30, 22:47)garzie99 Wrote:
(2025-01-30, 13:55)otinley Wrote: Garzie99,
Did you update both API & client ID that includes a new secret key?
You have a creation date of 2020 for them.
You need new ones in order for the addon to function properly.

no these are the API details that were working fine until a week ago

i was hoping i could avoid doing that as its just more room for error on my part - and yet more tail chasing ( when you only mess with this stuff once a year its v easy to mess up) 

will try all new API's and report back  - once my patience quota has recovered sufficiently 

thanks for your help!

update - created all new api's  - edited the api JSON file via SSH and Notepad++  - saved - rebooted box - set addon configuration to ask for sign in - and setup wizard - opened YouTube addon - ran setup wizard - did the double sign in and........ it worked 

so i can confirm you can edit the JSON manually

the google api creation step was not the total pain i seemed to remember  - the page format has changed again since the instructions in above posts -
its a little confusing - as there is nothing on that page labelled as the "API Key number" - but under the project there is a Project ID number ( not project number or project name)  which s what is needed in that space in addon JSON
but copying and pasting into the JSON via SSH is easy enough 

thanks everyone for your help !
Reply
Just a quick question. Will this YouTube issue be fixed in a future release? I can wait months if I have too. Or there won't be a fix and this is the new way to get YouTube to work? I only use YouTube to play trailers for my movies and TV shows in Kodi. I avoid anything Google at all costs but if I have to create an account to get the APIs needed, then I guess I'll have to give in to the Google empire.
Reply
@djkilla
YT addon is working fine now after API & Client ID change.
And yes, this is the only way to get YT to work.
Nothing else needs fixing if you are using Beta 4 with the correct API & ClientID.
Reply
@otinley - I got the 7.2.0 beta 4 zip at https://github.com/anxdpanic/plugin.vide...e/releases

I'll follow the instructions to create the API & ClientID at https://github.com/anxdpanic/plugin.vide...-150931901

Then I'll configure the addon using 'Method 1' at https://github.com/anxdpanic/plugin.vide...the-add-on

Seems straight forward to me. If there's anything else I need to know, let me know, otherwise, thanks for your reply! I'll create the Google account and upload the zip into Kodi then start the process this weekend.
Reply
Hello. I am having a problem with trying to use the YouTube plugin. I have 7.2.0-beta installed. I have got my API Key, Client ID and Client Secret. I write the keys to file by editing <youtube/api_keys.json>. I open the plugin and configure it to enable the SETUP WIZARD. Then when I open YouTube I select the first option "SIGN IN" and I get "You may be prompted to enable two applications so that YouTube is functioning properly.". I select OK then get "Go to google.com/devise to enter the displayed code". I enter the code, do the account, login and I get "Success! Devise Connected. While I was doing all that the code is still displayed on my TV screen with a very show progress bar. I wait for a long time until the progress bar finishes. I then open YouTube and try to play a movie and I get "Sign in to confirm you are not a bot.

Can anyone please tell me what I am doing wrong?
Reply
(2025-02-02, 01:13)nemax Wrote: Hello. I am having a problem with trying to use the YouTube plugin. I have 7.2.0-beta installed. I have got my API Key, Client ID and Client Secret. I write the keys to file by editing <youtube/api_keys.json>. I open the plugin and configure it to enable the SETUP WIZARD. Then when I open YouTube I select the first option "SIGN IN" and I get "You may be prompted to enable two applications so that YouTube is functioning properly.". I select OK then get "Go to google.com/devise to enter the displayed code". I enter the code, do the account, login and I get "Success! Devise Connected. While I was doing all that the code is still displayed on my TV screen with a very show progress bar. I wait for a long time until the progress bar finishes. I then open YouTube and try to play a movie and I get "Sign in to confirm you are not a bot.

Can anyone please tell me what I am doing wrong?
Read the last paragraph of post #3006 about the need to sign in twice without being prompted. It looks like that’s your last hurdle.
Reply
Hi Nemax when you stated "While I was doing all that the code is still displayed on my TV screen with a very show progress bar" did you happen to notice that the code displayed after your first sign were now different code than the ones you used? After your first sign in there should be a different code now displayed so you can use this to sign in the second time.
Reply
Well done, thx!

Some hints, maybe could be helpfull:

1- key creation at google as described here: https://github.com/anxdpanic/plugin.vide...-150931901

2- login with your google account (mobile account must be available!)

3- create an API key and two client IDs. This will later result in a double query when logging in.

4- the keys can be entered in the addon-fields or directly in api_keys.json and settings.xml (/storage/.kodi/userdata/addon_data/plugin.video.youtube). YT-addon must not be active. If the files are not available, enter simple fake keys in the YT-addon settings. A client ID like "228xxx68yyy-ur8n3xxxcb1cccv3jm7tjagd9eh0vvvvv.apps.googleusercontent.com" should be entered without ".apps.googleusercontent.com".

5- still in Kodi, still in the YT-addon, sign in: YT will will ask you to sign in twice and register your device twice with code sent to your mail-account.
The second time you connect a device, you will be prompted with:
"This app isn't verified. This app hasn't been verified by Google yet. Only proceed if you know and trust the developer."
From there clicking Advanced and Go to <your project name> (unsafe) allows you to complete the process.

cu
Reply
  • 1
  • 199
  • 200
  • 201
  • 202(current)
  • 203

Logout Mark Read Team Forum Stats Members Help
YouTube0