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) - Thinaran - 2016-02-18

Also did activoice's solution and it works great. But will the login_client.py change with the next update or will the credentials I created still be there?


RE: YouTube (IMPORTANT - READ FIRST POST) - adito - 2016-02-18

(2016-02-18, 11:06)finalmakerr Wrote: @adito
Yes i am aware, there was an issue with one of the main API i just fixed it and it's will be up in a few hours.

Repeat the method showed in the video in order to have the updated version.

http://offshoregit.com/finalmakerr/Fixed%20Addons/
Make sure the date is not showing as: 17-Feb-2016 15:31

thank you...

it's working now


RE: YouTube (IMPORTANT - READ FIRST POST) - hanfgnu2k - 2016-02-18

I'm trying to be independent from any old API keys, so I wanted to also change the "youtube-tv" key in login_client.py to the new private one I already used for "youtube-for-kodi-xx" (15 in my case).

However the "My Subscriptions" view, which uses the "youtube-tv" key in its request, stays empty. Digging around a bit in the code it seems this view uses another kind of request (v1), and results in an error 403 (forbidden) when using the same key used in "youtube-for-kodi-xx".

Does anyone know what kind of API key or client auth (or combination of it?) I have to create in the Google Developer Console to make this request also work?


RE: YouTube (IMPORTANT - READ FIRST POST) - misty01 - 2016-02-18

(2016-02-18, 12:26)Thinaran Wrote: Also did activoice's solution and it works great. But will the login_client.py change with the next update or will the credentials I created still be there?

Your changes will be lost.

To prevent any update open addon.xml and increase the version number. Example: original version 5.1.16 >>> your version 5.2.0. Of course if something newer is released with a higher version than what you changed it to, then it will be overwritten. Make a zip / copy of the plugin.video.youtube folder for safe keeping in case you need to revert back.


RE: YouTube (IMPORTANT - READ FIRST POST) - kgoerbig - 2016-02-18

(2016-02-18, 04:32)shung Wrote: I cannot find login_client.py in Raspberry pi 2B, anybody know how the file structure in Raspbian??


/home/osmc/.kodi/addons/plugin.video.youtube/resources/lib/youtube/client


RE: YouTube (IMPORTANT - READ FIRST POST) - oneohsix - 2016-02-18

Hi firstly want to say great addon and some fantastic advice here.. I followed the instructions and created my own api keys and im now able to see videos using the addon...however, if i click the LIVE link i get the "project marked for deletion" message still... and also on some addons ive created for myself that use some youtube channels i still get the same message...

are other people who created the API having the same issue when clicking on live??


RE: YouTube (IMPORTANT - READ FIRST POST) - VanZan - 2016-02-18

Yeah same here when I click LIVE link.


RE: YouTube (IMPORTANT - READ FIRST POST) - oneohsix - 2016-02-18

(2016-02-18, 16:59)VanZan Wrote: Yeah same here when I click LIVE link.

ahh thanks for the reply. now i know its nothing i have done wrong Big Grin


RE: YouTube (IMPORTANT - READ FIRST POST) - samsonluk - 2016-02-18

No problem with LIVE here...


RE: YouTube (IMPORTANT - READ FIRST POST) - mickyy - 2016-02-18

delayed but good fix Smile

thanks


RE: YouTube (IMPORTANT - READ FIRST POST) - otheym - 2016-02-18

I had the same problem back in december but an upgrade to the latest jarvis release cured the problem for a time until a couple of days ago when the daily limit exceeded error came back again every time I used the you tube plugin. I think You tube is trying to destroy Kodi.


RE: YouTube (IMPORTANT - READ FIRST POST) - jdf76 - 2016-02-18

Thanks a bunch, that makes since that it all of a sudden it just stopped working for me and nothing else would fix it. I appreciate your insight and am using the update you provided.

thanks a bunch for you help

Jeff

(2016-02-18, 09:06)finalmakerr Wrote: API developer keys must be created in order to use any app.
Using browser or smart tv have their own API just like Bromix's YouTube addon.
I believe the previous API keys has been removed that's why the official addon is broken.



RE: YouTube (IMPORTANT - READ FIRST POST) - Trespasser - 2016-02-18

Just an FYI. The one set of Youtube API keys you create will work in Isengard, Jarvis, and even Krypton. I just added a section to the login_client.py for Krypton and used the same API keys in all three.

Bob


RE: YouTube (IMPORTANT - READ FIRST POST) - parker.hugh - 2016-02-18

(2016-02-16, 14:52)ntdrt Wrote: I just made quick fix based on random pooling of credentials. Not really a good solution but it will solve problem for now.

Source: https://github.com/kolinger/plugin.video.youtube
ZIP: https://github.com/kolinger/plugin.video.youtube/releases/download/5.1.17/plugin.video.youtube-5.1.17.zip

Installation - install from zip or replace files directly in addons folder. Then just logout from youtube and log back. If there was still issue with quota/unknown kind then logout and login again. Every login a random credentials are chosen/propably new pool is chosen.
Thanks for making the 5.1.17 zip. I have followed your instructions by logout and login again but it didn't work for me. Tried twice but same result. Does anyone have any advice/tips on how I can get this to work. Thanks again for your help.


RE: YouTube (IMPORTANT - READ FIRST POST) - BeGendy - 2016-02-18

(2016-02-18, 16:37)kgoerbig Wrote:
(2016-02-18, 04:32)shung Wrote: I cannot find login_client.py in Raspberry pi 2B, anybody know how the file structure in Raspbian??


/home/osmc/.kodi/addons/plugin.video.youtube/resources/lib/youtube/client

How can I edit that file on RP2? can I use putty? I'm using openelec

Edit:
I was able to create Browser API key, client ID and client secret.

uninstalled and reinstalled youtube addon

I also was able to change the "login_client.py" file using ssh, and this command:
nano .kodi/addons/plugin.video.youtube/resources/lib/youtube/client/login_client.py

but I still get the "daily limit exceeded" error.

am I missing something??