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



RE: YouTube Plug-in Thread - r0ck0 - 2018-06-17

(2018-06-17, 19:32)anxdpanic Wrote: @r0ck0 Thanks of the log, that is definitely strange. I'll take another better look when time allows. If you have any videos in 'My Channel' does the issue happen with them or with live streams? My Channel and Live videos provide the mpeg-dash url and don't require the proxy. Also does it increase for every video or does the increase only happen once?
 The time increase only happens once per kodi session. I can't get any of the videos under "My Channel" to play, either dash enabled or disabled. If I play a live stream the time still jumps ahead.

Fixed playing "my channel" videos by updating to the 6.1.0 alpha. Time still jumps when playing a video with dash proxy enabled, time does NOT jump when playing a video from "my channel"


RE: YouTube Plug-in Thread - blindhai - 2018-06-19

(2018-06-17, 17:46)anxdpanic Wrote: @blindhai There are Banned_addons (wiki) in the log snippet, please provide a full debug_log (wiki) with them removed.
 http://paste.kodi.tv/fulocosimo

I did a fresh install and only Twitch and Youtube with inputsteam.adaptive. Configured it, Twitch does work in 1080p, but Youtube only show in 720p with 6.02 and 6.10 alpha.

The funny thing is, when i configure: "Always ask for the video quality" then i have the option for 1080p. I select it and it still hows 720p in the video information and i can see that it is not 1080p. Very strange.


RE: YouTube Plug-in Thread - Halloway - 2018-06-19

BUG: Freeze after 20 minutes of playing a single video

Here's the debug log: http://ix.io/1dTL

What happens is a video will play correctly for ~20 minutes and then freeze. The image becomes static and after a few seconds a buffering counter appears in the middle of the screen but never advances beyond zero. I can stop the video and Kodi then appears to work normally after that. There is no crash or restart.

I am using Youtube version 6.0.2 and Kodi 18 alpha #0617, although I've experienced the problem in earlier versions of Kodi 18. For reference, the videos this happened on are:

https://www.youtube.com/watch?v=q4xKvHANqjk and https://www.youtube.com/watch?v=5lMXA1r6GMM .


RE: YouTube Plug-in Thread - DjDiabolik - 2018-06-19

@Halloway 
I'm right now finished to watch a live stream on a youtube channel whit a duration about one hours...... some version ago i'm also report somethigs similar (kodi goes in crash and restart on my pi2) after some minutes but apparently whit latest alpha now it's works.


RE: YouTube Plug-in Thread - Halloway - 2018-06-20

(2018-06-19, 14:03)Halloway Wrote: BUG: Freeze after 20 minutes of playing a single video

Here's the debug log: http://ix.io/1dTL

What happens is a video will play correctly for ~20 minutes and then freeze. The image becomes static and after a few seconds a buffering counter appears in the middle of the screen but never advances beyond zero. I can stop the video and Kodi then appears to work normally after that. There is no crash or restart.

I am using Youtube version 6.0.2 and Kodi 18 alpha #0617, although I've experienced the problem in earlier versions of Kodi 18. For reference, the videos this happened on are:

https://www.youtube.com/watch?v=q4xKvHANqjk and https://www.youtube.com/watch?v=5lMXA1r6GMM .
 I've just tried the latest alpha of the plugin and the problem is still evident.


RE: YouTube Plug-in Thread - blindhai - 2018-06-20

(2018-06-19, 02:15)blindhai Wrote: http://paste.kodi.tv/fulocosimo

I did a fresh install and only Twitch and Youtube with inputsteam.adaptive. Configured it, Twitch does work in 1080p, but Youtube only show in 720p with 6.02 and 6.10 alpha.

The funny thing is, when i configure: "Always ask for the video quality" then i have the option for 1080p. I select it and it still hows 720p in the video information and i can see that it is not 1080p. Very strange. 
Now it gets weird...very weird. I tried another fresh install with another Kodi version (17.6). Now Dash works well with Youtube, but Twitch doesnt start at all anymore. I can select a stream, when i click on it then it shows in the right corner, but when i go left and select "full screen" then it show that the stream stops at 0 (%).

Will post my logs in the Twitch Subforum as well, but this is a f***ing weird behaviour...
https://paste.ubuntu.com/p/CPYtBn6BkH/


I have the other Kodi installation on another SD Card, so perhaps someone has an idea why i have the Youtube problem with Kodi 18 alpha...would be nice. Smile


RE: YouTube Plug-in Thread - anxdpanic - 2018-06-20

@r0ck0 Sorry about that, I forgot My Channel was fixed in the alphas. I haven't been able to find anything that may be causing your issue. Just to clarify, if you have Use mpeg-dash enabled, mpeg-dash proxy disabled and play a live stream does it happen? (Not sure if the strikethrough is intended for that as well)

@Halloway This would be something to report to LibreElec/Kodi

@blindhai The 1080 showing in ask for quality means 1080 is max supported/included dash stream. First I would double check you inputstream.adaptive min bandwidth is 30000000 (30,000,000).  If it is still not working, setting inputstream.adaptive stream selection to manual will allow you to change video streams from the Player OSD.  I responded in the Twitch thread as well.


RE: YouTube Plug-in Thread - anxdpanic - 2018-06-20

I've updated post #2 with ~alpha11
Code:
[fix] don't use playback history on live |6.1.0 alpha|
[fix] don't show playback history context menu when disabled |6.1.0 alpha|
[fix] clear data cache on sign in/out |6.1.0 alpha|
[fix] add to playlist, use per user watch later id |6.1.0 alpha|
[upd] use function cache for guides, and extract_url
[upd] adjust stream sorting for dash
[upd] strip html from errors
[chg] mpeg-dash settings, separate live streams and videos



RE: YouTube Plug-in Thread - blindhai - 2018-06-20

(2018-06-20, 17:38)anxdpanic Wrote: @blindhai The 1080 showing in ask for quality means 1080 is max supported/included dash stream. First I would double check you inputstream.adaptive min bandwidth is 30000000 (30,000,000).  If it is still not working, setting inputstream.adaptive stream selection to manual will allow you to change video streams from the Player OSD.  I responded in the Twitch thread as well.

I got a new clue: When i try it on my 17.6 Kodi, then i have the option for 720p or Dash /mpd, like in the screenshot.

When i switch in Kodi 18 under inputstream to manual, then i can use 1080p and i tried to set it "default setting". Now i need to choose the quality every time, even when i selected 1080p as default and when revert to select to auto, then i always have 720p again. Neither are really good choices, to choose the quality is not really the way to go. It seems i have to stay at Kodi 17.6 for now and hope it will work in Leia final.
 Image


RE: YouTube Plug-in Thread - mv-- - 2018-06-23

Hi!

Got a question regarding using external player with youtube plugin. I'm using MPC-BE as external player and from log
https://pastebin.com/3BkhN2ZU
it seems that the player is getting ""plugin://plugin.video.youtube/play/?video_id=..." as a command line option.
Is it possible to pass full https link to the player?


RE: YouTube Plug-in Thread - mpab - 2018-06-24

Hello all!

For some reason the YouTube add-on tends to lag even though I'm watching at 720p. If I close Kodi and open a browser with YouTube it streams 1080 flawlessly and without any pause.

What could be the reason for that?

Thanks.


RE: YouTube Plug-in Thread - tjay260476 - 2018-06-25

I too have the issue of YouTube crashing halfway through a video, here is my log file

https://paste.kodi.tv/simopudode

I am running on a Raspberry Pi 3b with a Milhouse build of libreelec: #0623 (Alpha3 Git:95de5f5)

Although this might be unrelated, I was watching KordKutters via the addon, which has meant that Nate has knackered my Kodi instance!

It is trying to fill the buffer - although VERY slowly!


RE: YouTube Plug-in Thread - asik1 - 2018-06-25

YT live is crashing but not regular clips.
I'm with K17.6 and android7 "Chinese TV box", while I can play almost any YT clip I wish,
not so with Live streams, it plays for about 5 sec than freezes for 5sec and than the YT addon crashes . 
It began about half a year or so ago.
like this one https://www.youtube.com/watch?v=Fu2etwHzcvw
(it plays fine on my PC and firefox)
Any tweak I should do?
Thank you.


RE: YouTube Plug-in Thread - infodroid - 2018-06-25

I've a problem with 6.1.0 alpha11 under Leia. I can't mark videos as seen while using Mysql. I've narrowed it down to the actual insert statement which uses the wrong idPath. The record gets created but with the wrong id and therefore is not marked as seen in the video list. When I manually change the field idPath in the files table from 524 to 135 it's marked as seen in the video list.

This is 6.1.0 a11 under Leia:
21:20:19.830 T:163752928496   DEBUG: Mysql execute: insert into files (idFile, idPath, strFileName) values(NULL, 524, 'plugin://plugin.video.youtube/play/?video_id=CJSg3IjXa0s')

This is 6.1.0 a11 under Krypton
21:47:52.691 T:123145327734784   DEBUG: Mysql execute: insert into files (idFile, idPath, strFileName) values(NULL, 135, 'plugin://plugin.video.youtube/play/?video_id=CJSg3IjXa0s')

These are the two path records in the Leia database, the record with idPath 524 does not exist in the Krypton database:

idPath    strPath    strContent    strScraper    strHash    scanRecursive    useFolderNames    strSettings    noUpdate    exclude    dateAdded    idParentPath
135    plugin://plugin.video.youtube/    NULL    NULL    NULL    NULL    NULL    NULL    NULL    NULL    NULL    NULL
524    plugin://plugin.video.youtube/play/    NULL    NULL    NULL    NULL    NULL    NULL    NULL    NULL    NULL    135

I don't know if this is a problem on the plugin side or on the Kodi side.
 
(2018-06-16, 18:02)r0ck0 Wrote: Anyone have a problem with the time display in kodi being moved ahead 5 hours when the dash proxy is enabled in the YT plugin? If the dash proxy is not enabled I don't get dash video, if the proxy is enabled the time moves ahead 5 hours when it starts a new video and wont go back to normal until kodi is reset, the time in the OS is always correct. Running kodi 18 nightlies on android shield with yt 6.0.2 with a private API key.
Finally someone with the same problem I was so close to kicking the Shield out of the window. I'm experiencing this as well. In my case the time jumps back 2 hours. I thinks it has something to do with the GMT offset. Mine is GMT+2. It started after updating the Nvidia Shield to Android Oreo and I can see in r0ck0's debug log he is on Oreo as well. When I quit Kodi and start it again time is back to normal until playing a mpeg-dash video. Outside of Kodi the time is always right.

This happens with YT plug-in 6.0.2 and 6.1.0 alpha11 in Krypton and Leia. When I disable mpeg dash in the plugin time does not jump back. This seems to be a specific problem with Android Oreo on the Nvidia Shield.


RE: YouTube Plug-in Thread - Juppstein - 2018-06-27

As of today morning around 8AM CEST I get autherror messages and errors about invalid credentials. I am using YT API keys so I went there to see if something went wrong from my side. Seems that Google has updated their whole dev console interface. The log file shows several errors when the addon tries to connect. Could this be related?

https://paste.kodi.tv/ixumihuvaz

The issue has solved itself automagically without any intervention from my side, oh well, false alarm I guess Confused