Kodi Community Forum
Release YouTube Plug-in Thread - 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 Plug-in Thread (/showthread.php?tid=267160)



RE: YouTube Plug-in Thread - roepi - 2017-04-09

(2017-04-08, 11:16)jmh2002 Wrote: You have not followed the instructions correctly, and this is why My Subscriptions, etc are not showing. Please follow the instructions again in Post #2 on Page 1 of this thread here and your problems should be fixed.

Nod

Ok, got it. What I did was hide the sign in and sign out (why would I do that after I logged in, right?). So I was not logged in but the sign in menu was hidden. Simple as that... embarrassing Wink


RE: YouTube Plug-in Thread - I_Terrabull - 2017-04-09

(2017-04-09, 02:49)EricSol Wrote: Hi,

I had my API key working without any issues for some time now.
Unfortunately I get the following error when trying to access any of the addons features since yesterday

"YOUTUBE: ACCESSNOTCONFIGURED
Project blocked, abuse detected."

Anyone knows whats up with this?
This happen to me also. I had a playlist with videos that we're frequently deleted/removed by Youtube. I'm pretty sure the deleted videos are viewed a TOS violation. It seems like Google flagged this playlist and associated it my project. I always thought it was the uploader that got flagged for TOS, not people who simple added the link to a playlist. Maybe that has changed now.

I thought about appealing, but in the end just created another project.


RE: YouTube Plug-in Thread - thinkcow - 2017-04-10

Hi,
First of all: Thanks for the great work you are doing!

I've used 5.3.5 until Thursday (On libreelec 7 on a raspberry pi 3) without serious problems (the known bug of some "no video streams found" messages on some videos the only noticeable).
I decided to upgrade libreelec to 8.0.1 (kodi krypton 17.1).
Since then I've been unable to sign in... It gives me the pop-up with the code for YouTube.com/activate and when I put in the code (and allow the plugin access) it sometimes goes on to the second pop-up with the code for the 2nd login, but at the latest after allowing this access via the Google account it times out (Often it already times out on the first code).
I first tried with the version from the Kodi repo 5.3.12, without private API keys... No go. Then I tried the same version with my own API key, no go. Then I tried with the 5.3.13-alpha (both with our without private API keys), same issue. (After each try I fully removed and reinstalled the plugin including all folders, to be sure to start with a clean install of the plugin)
It almost seems like after the code is entered on YouTube.com/activate and accepting the access, this is not sent back to the plugin, which then waits for the reply until it times out...
I have reinstalled and tried to sign in around 25 times in the last three days, about a quarter of the time it accepts the first authentication and goes on to ask for the second (no difference if I use the community api keys or my own, he asks me to authorize the correct thing, but stalls after I push accept).

What am I doing wrong, or is there an issue at Google or in libreelec that is preventing the proper sign in?
If a log helps, http://paste.ubuntu.com/24354030 here is one. (What makes me expect an issue on the side of Google is the line " Error Contents: HTTPSConnectionPool(host='www.youtube.com', port=443): Max retries exceeded with url: /o/oauth2/token (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x6a9fecf0>: Failed to establish a new connection: [Errno 110] Connection timed out',)) " in the log).

Sorry for the long post, but I'm slowly losing what's left of my sanity ☺. Many thanks in advance for any help!
T


YouTube Plug-in Thread - baba420 - 2017-04-10

I have also trouble with signing in.


RE: YouTube Plug-in Thread - Wild Penguin - 2017-04-12

Hi,

There are certain Youtube Videos that will always fail. Is this a known issue?

If not, I will look up what's in the logs and paste it here (with some links to non-functioning clips on Youtube)


RE: YouTube Plug-in Thread - thinkcow - 2017-04-12

@wild Penguin: Vevo music videos can be a hassle, but since updating to 5.3.12 (and actually getting it to authenticate Wink ) I have not yet found anything that doesn't play.


RE: YouTube Plug-in Thread - condor83 - 2017-04-13

Hi, I've noticed that with Kodi 16.1, the favourite cache for this addon won't update


RE: YouTube Plug-in Thread - maseyray - 2017-04-13

Hi

I've been using the youtube addon for many months perfectly fine operating Kodi 16.0 and then 16.1. I recently upgraded to 17.1 and all of a sudden i am unable to play HD content only - FHD and SD however all play smoothly without issue. It's definitely an issue that's brought about by the upgrade of Kodi version as if i reinstall 16.1 the problem disappears. The streams buffer and the picture becomes pixelated when the problem arises.

I've done a bit of research already and have tried adjusting resolution settings and turned off the hd upscaling feature and disabled mediacodec. Nothing has worked and i'm out of ideas!

I'd be massively grateful if anyone can help me out please!!

Thank you


RE: YouTube Plug-in Thread - DjDiabolik - 2017-04-14

(2017-04-13, 17:33)maseyray Wrote: Hi

I've been using the youtube addon for many months perfectly fine operating Kodi 16.0 and then 16.1. I recently upgraded to 17.1 and all of a sudden i am unable to play HD content only - FHD and SD however all play smoothly without issue. It's definitely an issue that's brought about by the upgrade of Kodi version as if i reinstall 16.1 the problem disappears. The streams buffer and the picture becomes pixelated when the problem arises.

I've done a bit of research already and have tried adjusting resolution settings and turned off the hd upscaling feature and disabled mediacodec. Nothing has worked and i'm out of ideas!

I'd be massively grateful if anyone can help me out please!!

Thank you

Rarely i also obtain some problems whit youtube video...... i have set to watch video at 720p and compared to the "old" kodi 16.x I think and I suppose that now there is still a long way to obtain the perfect machine and perfect combination between kodi himself and the inputstream adaptive. Supposedly the same kodi 17.x i think it isn't yet perfect in the aspect "buffering"..............

Sorry my bad english.........


RE: YouTube Plug-in Thread - Wild Penguin - 2017-04-14

(2017-04-12, 23:20)thinkcow Wrote: @wild Penguin: Vevo music videos can be a hassle, but since updating to 5.3.12 (and actually getting it to authenticate Wink ) I have not yet found anything that doesn't play.

I can get most videos (>90%) to play, but certain just timeout in the logs - i.e. the stream can not be played. The UI displays a generic error message (some items could not be played, more information in the logs). So these certain streams just always (and reliably) fail, while rest (reliably) can be played.

Some examples:

https://www.youtube.com/watch?v=vyvpbqlNaEw
https://www.youtube.com/watch?v=Sx5_QGdFmq4

Can you play these streams via KODI/Youtube plugin?

There have been others, but I didn't record which streams it was. I've actually started to gather a playlist of failing streams, to find a pattern.

This kind of errors are in the log file:
Code:
15:44:26.297 T:140642647791360  NOTICE: [plugin.video.youtube] Running: YouTube (5.3.12) on Krypton (Kodi-17.1) with Python 2.7.13
15:44:26.487 T:140642647791360   ERROR: /home/ville/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/connectionpool.py:843: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
                                              InsecureRequestWarning)
15:51:24.452 T:140644263479040   ERROR: Previous line repeats 1 times.
15:51:24.452 T:140644263479040  NOTICE: PulseAudio: Opened device Default in pcm mode with Buffersize 150 ms
15:51:24.991 T:140643438405376  NOTICE: [plugin.video.youtube] Running: YouTube (5.3.12) on Krypton (Kodi-17.1) with Python 2.7.13
15:51:25.303 T:140643438405376   ERROR: /home/ville/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/connectionpool.py:843: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
                                              InsecureRequestWarning)
15:51:25.833 T:140643421619968  NOTICE: [plugin.video.youtube] Running: YouTube (5.3.12) on Krypton (Kodi-17.1) with Python 2.7.13
15:51:25.985 T:140643421619968   ERROR: /home/ville/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/connectionpool.py:843: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
                                              InsecureRequestWarning)
15:51:35.624 T:140644798240896   ERROR: Previous line repeats 1 times.
15:51:35.624 T:140644798240896   ERROR: CCurlFile::Stat - Failed: Timeout was reached(28) for https://r11---sn-uxap5nvoxg5-ixhs.googlevideo.com/videoplayback?upn=3iCH8PiAZVo&mime=video%2Fmp4&expire=1492195885&ratebypass=yes&ipbits=0&initcwndbps=1541250&mn=sn-uxap5nvoxg5-ixhs&mm=31&key=yt6&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&signature=1D1BEA006C59DAB085B4C52606DFFA0C8EA1B10D.D1599CD13F568BFE507C830C6814AAFB2F75F431&ms=au&ei=zcXwWLaVFMK2dKj-luAB&pl=17&mv=m&mt=1492174122&requiressl=yes&lmt=1471003126327453&itag=22&ip=84.248.115.246&dur=75.627&pcm2cms=yes&source=youtube&id=o-AOyFNZfpdEx6MGY06nsIQWE3AKfB4l-g5iPaAkJ7rYvA
15:51:35.650 T:140644798240896  NOTICE: VideoPlayer: Opening: https://r11---sn-uxap5nvoxg5-ixhs.googlevideo.com/videoplayback?upn=3iCH8PiAZVo&mime=video%2Fmp4&expire=1492195885&ratebypass=yes&ipbits=0&initcwndbps=1541250&mn=sn-uxap5nvoxg5-ixhs&mm=31&key=yt6&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&signature=1D1BEA006C59DAB085B4C52606DFFA0C8EA1B10D.D1599CD13F568BFE507C830C6814AAFB2F75F431&ms=au&ei=zcXwWLaVFMK2dKj-luAB&pl=17&mv=m&mt=1492174122&requiressl=yes&lmt=1471003126327453&itag=22&ip=84.248.115.246&dur=75.627&pcm2cms=yes&source=youtube&id=o-AOyFNZfpdEx6MGY06nsIQWE3AKfB4l-g5iPaAkJ7rYvA
15:51:35.650 T:140644798240896 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
15:51:45.657 T:140644798240896   ERROR: CCurlFile::Stat - Failed: Timeout was reached(28) for https://r11---sn-uxap5nvoxg5-ixhs.googlevideo.com/videoplayback?upn=3iCH8PiAZVo&mime=video%2Fmp4&expire=1492195885&ratebypass=yes&ipbits=0&initcwndbps=1541250&mn=sn-uxap5nvoxg5-ixhs&mm=31&key=yt6&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&signature=1D1BEA006C59DAB085B4C52606DFFA0C8EA1B10D.D1599CD13F568BFE507C830C6814AAFB2F75F431&ms=au&ei=zcXwWLaVFMK2dKj-luAB&pl=17&mv=m&mt=1492174122&requiressl=yes&lmt=1471003126327453&itag=22&ip=84.248.115.246&dur=75.627&pcm2cms=yes&source=youtube&id=o-AOyFNZfpdEx6MGY06nsIQWE3AKfB4l-g5iPaAkJ7rYvA
15:51:45.666 T:140643421619968  NOTICE: Creating InputStream
15:52:05.879 T:140643421619968   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
15:52:05.879 T:140643421619968   ERROR: CCurlFile::Open failed with code 0 for https://r11---sn-uxap5nvoxg5-ixhs.googlevideo.com/videoplayback?upn=3iCH8PiAZVo&mime=video%2Fmp4&expire=1492195885&ratebypass=yes&ipbits=0&initcwndbps=1541250&mn=sn-uxap5nvoxg5-ixhs&mm=31&key=yt6&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&signature=1D1BEA006C59DAB085B4C52606DFFA0C8EA1B10D.D1599CD13F568BFE507C830C6814AAFB2F75F431&ms=au&ei=zcXwWLaVFMK2dKj-luAB&pl=17&mv=m&mt=1492174122&requiressl=yes&lmt=1471003126327453&itag=22&ip=84.248.115.246&dur=75.627&pcm2cms=yes&source=youtube&id=o-AOyFNZfpdEx6MGY06nsIQWE3AKfB4l-g5iPaAkJ7rYvA
15:52:25.993 T:140643421619968   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
15:52:25.994 T:140643421619968   ERROR: CCurlFile::Open failed with code 0 for https://r11---sn-uxap5nvoxg5-ixhs.googlevideo.com/videoplayback?upn=3iCH8PiAZVo&mime=video%2Fmp4&expire=1492195885&ratebypass=yes&ipbits=0&initcwndbps=1541250&mn=sn-uxap5nvoxg5-ixhs&mm=31&key=yt6&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&signature=1D1BEA006C59DAB085B4C52606DFFA0C8EA1B10D.D1599CD13F568BFE507C830C6814AAFB2F75F431&ms=au&ei=zcXwWLaVFMK2dKj-luAB&pl=17&mv=m&mt=1492174122&requiressl=yes&lmt=1471003126327453&itag=22&ip=84.248.115.246&dur=75.627&pcm2cms=yes&source=youtube&id=o-AOyFNZfpdEx6MGY06nsIQWE3AKfB4l-g5iPaAkJ7rYvA
15:52:25.995 T:140643421619968   ERROR: Open - failed to open source <https://r11---sn-uxap5nvoxg5-ixhs.googlevideo.com/videoplayback?upn=3iCH8PiAZVo&mime=video%2Fmp4&expire=1492195885&ratebypass=yes&ipbits=0&initcwndbps=1541250&mn=sn-uxap5nvoxg5-ixhs&mm=31&key=yt6&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&signature=1D1BEA006C59DAB085B4C52606DFFA0C8EA1B10D.D1599CD13F568BFE507C830C6814AAFB2F75F431&ms=au&ei=zcXwWLaVFMK2dKj-luAB&pl=17&mv=m&mt=1492174122&requiressl=yes&lmt=1471003126327453&itag=22&ip=84.248.115.246&dur=75.627&pcm2cms=yes&source=youtube&id=o-AOyFNZfpdEx6MGY06nsIQWE3AKfB4l-g5iPaAkJ7rYvA>
15:52:25.995 T:140643421619968   ERROR: CVideoPlayer::OpenInputStream - error opening [https://r11---sn-uxap5nvoxg5-ixhs.googlevideo.com/videoplayback?upn=3iCH8PiAZVo&mime=video%2Fmp4&expire=1492195885&ratebypass=yes&ipbits=0&initcwndbps=1541250&mn=sn-uxap5nvoxg5-ixhs&mm=31&key=yt6&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&signature=1D1BEA006C59DAB085B4C52606DFFA0C8EA1B10D.D1599CD13F568BFE507C830C6814AAFB2F75F431&ms=au&ei=zcXwWLaVFMK2dKj-luAB&pl=17&mv=m&mt=1492174122&requiressl=yes&lmt=1471003126327453&itag=22&ip=84.248.115.246&dur=75.627&pcm2cms=yes&source=youtube&id=o-AOyFNZfpdEx6MGY06nsIQWE3AKfB4l-g5iPaAkJ7rYvA]
15:52:25.995 T:140643421619968  NOTICE: CVideoPlayer::OnExit()
15:52:26.012 T:140644798240896   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/play/?video_id=Sx5_QGdFmq4]



RE: YouTube Plug-in Thread - jdf76 - 2017-04-14

Try the beta and see if it fixes it.

https://github.com/jdf76/plugin.video.youtube/releases/tag/5.3.13

Jeff


RE: YouTube Plug-in Thread - Wild Penguin - 2017-04-14

Hi Jeff,

I tried the beta and report, that sadly it does not fix this.

Please let me know if you can reproduce this, and/or if you'd like a debug log from me

Here's a few other streams that are giving me problems:

https://www.youtube.com/watch?v=B7xGhVfKVKU
https://www.youtube.com/watch?v=pLf5yajMJvY

I was able to play the chiptune (BtxGhVfKVKU)once, but I think it was a fluke since it has always failed before and fails again.

Also, sometimes I do not get the error dialog, kodi just doesn't play it (doesn't crash either), still with the similar timeout messages in the log, though.


RE: YouTube Plug-in Thread - bimple - 2017-04-15

jdf76 - Thanks for a great add-on! I have been looking for developer documentation, as far as what parameters are allowed, etc. when calling up this add-on in another add-on. I have figured out how to call up playlists, channels, and users, but can't seem to find the example for a single video. I found:
Code:
url="plugin://plugin.video.youtube/?path=root/video&action=play_video&videoid=ID",
but that didn't work, and the documentation I found was old, and I know that youtube has changed their URL structure, and was wondering what is the correct syntax to to use?

Also, is there any current and updated documentation regarding this add-on that I can refer to? Thanks again.


RE: YouTube Plug-in Thread - beeve - 2017-04-15

I also have this problem on both my LibreElec S905 boxes. It's driving me nuts and making the plugin almost unusable.


(2017-04-04, 21:13)kenmills Wrote: Actually,

I seem to be having the same issue. I thought it was just me!

I am using LE8.1 on an MX3-G 2gb\16gb TV device.

I am using the latest YT 5.3.12 and I have tried a fresh install, then setup my private API key. Then it is fine for a while and then sometime after a reboot or something, the settings file is empty again! Everything is reset back to defaults.

I can't pinpoint anything in the logs, nor can I yet identify when exactly this happens. Once I can get more information, I will post a log.

Cheers,
Ken

(2017-04-04, 08:30)Gothico Wrote: Hi there.
I have an issue with the latest official version.
I'm on LE8.1 running on a RP3.

The YT Addon keeps reseting itself.
Its hard to pin down the point which results in an addonreset. Sometimes after a reboot, sometimes after watching a movie or even after a video on YT.

First i thought my own G-Api was faulty.
Used an internal, same.
Second thought, my custum skin. Used estuary, same.
Third, i tried my second Kodi/LE installation on a RP2. My own G-Api and internal Api, same.
A sd-card defect on both RP's, i dont think so.
Everything else is working fine.

I checked the settings file. New, like after first installation.
A backup of the file doesn't work. It's messing up the whole addon.
I also reinstalled the addon completly (with deleting the two addon folders). Didn't help neither.

Like everyone else, in the Log-file are these ssl errors, but i still can watch videos.
I am following this thread a long time and it seems i'm the only one with this problem.
LE on RP2 is an older updated Version.
LE on RP3 is a new clean Installation (to be shure).

Due to the quota thing and my bug, it would be nice to implement an option to import the json-yt-api file Google offers to download.
So i dont have to enter this alien-strings everytime twice....

Gesendet von meinem GT-I9300 mit Tapatalk



RE: YouTube Plug-in Thread - godsdevil - 2017-04-15

im running the latest version of kodi and the you youtube app

i can see my youtbue history is this a problem with the app itself or what?