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 - WeirdH - 2017-02-09

(2017-02-08, 22:50)jdf76 Wrote:
(2017-02-08, 22:03)WeirdH Wrote: Okay, updating wouldn't work because of 'dependencies not met', but when I went into Windows and manually transferred the unzipped github-folder to my addons, everything was a-ok. Needed to sign in again for the subscriptions, but nothing more.

So yeah, I'm now rocking youtube 5.3.9 on my XBMC 13.2 Gotham and all is well....! Big Grin

just an FYI it wouldn't install because you're running Gotham. Gotham doesn't support Dash, so you'll never get anything about 720p on your version of xbmc/Kodi.

I changed it so only Helix and above work, mainly because Kodi doesn't even support the older versions.

Jeff

Okay, thanks for the heads up. Yeah, I'll upgrade someday (I don't think my unhealthy attachment to an ancient version can be sustained much longer), but right now I can still make do with 720p.


RE: YouTube Plug-in Thread - max_gradient - 2017-02-09

(2017-02-09, 19:14)finalmakerr Wrote: Check my video two-three posts above


Sent from my iPhone (typie typie)

Hi, yes I saw the video before posting, but involves adding a repository which I understand is not supported... so wondering if there is any preferred offical way Big Grin


RE: YouTube Plug-in Thread - jdf76 - 2017-02-09

Ok, i made this link for you guys who are stuck on the ancient version of XBMC.

Youtube xbmc-sql ver 2.1.0

This should get you want you want. It wont be updated again, so after this you're on your own with this.

Jeff


RE: YouTube Plug-in Thread - max_gradient - 2017-02-09

So if anyone has this issue and wants to stay on "official" repo, inspired by the video from finamakerr I fixed it by changing
~/.kodi/addons/plugin.video.youtube/resources/lib/youtube/helper/video_info.py

I made the section around line 390 look like this and it works now:

if re_match_js:
js = re_match_js.group('js').replace('\\', '').strip('//')
if not js.startswith('http'):
js = 'http://www.youtube.com/%s' % js
cipher = Cipher(self._context, java_script_url=js)
pass


This fixed the issue and I hope I can keep official updates in the future once they become available and this problem is fixed in official repo.

Cheers and have a great evening all.


RE: YouTube Plug-in Thread - jdf76 - 2017-02-09

Are you serious?

Post: #1943

outlined the fix that was done for this problem like 3 weeks ago. it's been in the Kodi Repo and the youtube repo for 2 weeks. Dude you're running a fucking modified version of the youtube plugin. Why don't you actually read the damn forum instead of assuming we're sitting on our asses not doing anything.


RE: YouTube Plug-in Thread - high247 - 2017-02-10

Edit: Thanks jdf76 for your help. Appreciate it. Tested and all videos work and extra info makes me happy Smile


YouTube Plug-in Thread - finalmakerr - 2017-02-10

@max_gradient

Thanks m8! There is a manual and auto solution in my short video.


Sent from my iPhone


RE: YouTube Plug-in Thread - daniel-ntl - 2017-02-10

to jeff

i use jarvis 16.1 android tv box, and i sign in (put youtube activate code twice) in youtube version 5.1.20.1 to 5.1.20.5
https://www.youtube.com/watch?v=XQbNwWflz10&t=7s&bpctr=1486714593 (age restricted video but with verify controversy continue button in browser) => "playback failed bla2..."
https://www.youtube.com/watch?v=oiQ68AW0LMY (Mariah Carey - I Don't ft. YG) => "no stream found"
https://www.youtube.com/watch?v=4vOkNdaTAcE (age restricted video) => video playing nice Smile

i use jarvis 16.1 android tv box, and i sign in (put youtube activate code twice) in youtube version 5.3.9
https://www.youtube.com/watch?v=XQbNwWflz10&t=7s&bpctr=1486714593 (age restricted video but with verify controversy continue button in browser) => "playback failed and no stream found."
https://www.youtube.com/watch?v=oiQ68AW0LMY (Mariah Carey - I Don't ft. YG) => video playing nice Smile
https://www.youtube.com/watch?v=4vOkNdaTAcE (age restricted video) => "no stream found"

please anyone help on this result? i just want all video playing just like in the browser.
thx man....


RE: YouTube Plug-in Thread - max_gradient - 2017-02-10

(2017-02-09, 22:45)jdf76 Wrote: Are you serious?

Post: #1943

outlined the fix that was done for this problem like 3 weeks ago. it's been in the Kodi Repo and the youtube repo for 2 weeks. Dude you're running a fucking modified version of the youtube plugin. Why don't you actually read the damn forum instead of assuming we're sitting on our asses not doing anything.

My apologies, seems that in my desperate attempts to fix the always failing youtube addon i must have installed the unofficial repo quite a while ago. Sorry for confusion, and no, that's not what I am assuming jdf!


RE: YouTube Plug-in Thread - Gregoire - 2017-02-10

My youtube plugin updated to 5.4.1 Did I miss something?


RE: YouTube Plug-in Thread - peak3d - 2017-02-10

(2017-02-07, 20:57)DjDiabolik Wrote: I have a question about the inputstream.adaptive:
It's been used only by this Youtube addons or there's so other addons use this for play H264 ? I have set the min value to 1.000.000 and max at 20.000.000 and i don't know if it's correct or proper value but apparently after setted it i have obtain a lot of buffering issue in some other addons different by Youtube addons.

I thinks the big issue it's the pass to Kodi 17.1-RC1 by OSMC.... it's possible this build of kodi have some issue whit buffering ??

1.) Inputstream.adaptive is used for various addons (skygo / amazon prime / maxdome / bbc .....)

2.) If you enable debug logging, you'll see in kodi.log after each fragment wich is CURL loaded your download rate.
if you force bandwidth with the settings, you may overwrite what is possible and you lead in buffering.

Many users I know switched back to default values (0,0) to avoid such issues.


RE: YouTube Plug-in Thread - jdf76 - 2017-02-10

(2017-02-10, 14:30)Gregoire Wrote: My youtube plugin updated to 5.4.1 Did I miss something?

There is no 5.4.1.

Last version is 5.3.9.

You can check github.com/jdf76/plugin.video.youtube/blob/master/addon.xml

Jeff


RE: YouTube Plug-in Thread - Lirk - 2017-02-10

(2017-02-07, 03:12)luciferus Wrote:
(2017-02-06, 18:43)Lirk Wrote: I can't to play dash videos in 480p. It good plays videos in 1080p60, but ignores videos in 480p resolution.
how did you manage to get it play 1080p?
it will only play 720p here

It plays in 1080p automatically when autodetects mpeg-dash, I can't even to change to 720p or less quality and it not suggest quality changing even if it select in settings.

Most of DVDs and VHSs was recorded in 480p/576p and without mpeg-dash support it plays only in 360p.


RE: YouTube Plug-in Thread - Meister_Knobi - 2017-02-10

Hello @all

The Plugin have a wired behavior when im trying to play YT-live content. When i press play, about 20sec. nothig happen. After die 20sec. the stream plays fine for about 5 sec, then buffering (15sec, maybe more), then the video plays with no sound for 5sec.then again buffering 15sec, no sound 5sec and repeat and repeat and repeat.

It dosent matter if i use Libreelec or Kodi on Windows, nor the version of the plugin, nor witch YT livestream i was trying to play, nor the quality setting. All the same. on the kodinerds.de forum i found people with the same problem.

It does happen since Sep16, but i dindt have use YT live before.

Here is my log:
https://paste.ubuntu.com/23968017/

Hope you can help me. sry for bad englisch.


RE: YouTube Plug-in Thread - amcfarla - 2017-02-11

(2017-02-09, 15:56)finalmakerr Wrote:
(2017-02-09, 06:22)daniel-ntl Wrote: well thanks jeff for reminding me, but any solution about the "no videos stream found" because it is the same error with login in, in browser its ok, i try all 0-5 api key it doesnt work, still no video stream found, could you add api key that pass the age restriction? just put it to number 6. thx man


https://youtu.be/gQ9TOq67SqM


Sent from my iPhone (typie typie)

That fixed it for me, thank you for the solution @finalmakerr

Edit: Grabbing 5.3.9 version also worked from here: https://github.com/jdf76/plugin.video.youtube/releases