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 - wheemer - 2018-01-09

Yeah same here, had to roll back to 5.4.5 to get it working like blueribb


RE: YouTube Plug-in Thread - DjDiabolik - 2018-01-09

This is not a debug log but there's on kodi.log when try to reproduce a video:
Code:
12:11:54.620 T:1958957056   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/play/?video_id=Z3PcfMVqV_w]
12:12:12.876 T:1671373808  NOTICE: [plugin.video.youtube] Running: YouTube (5.5.0~alpha14) on Krypton (Kodi-17.5) with Python 2.7.9
12:12:14.722 T:1958957056   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/play/?video_id=Z3PcfMVqV_w]
12:12:25.910 T:1958957056  NOTICE: Samba is idle. Closing the remaining connections
12:12:31.975 T:1671373808  NOTICE: [plugin.video.youtube] Running: YouTube (5.5.0~alpha14) on Krypton (Kodi-17.5) with Python 2.7.9
12:12:34.188 T:1958957056   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/play/?video_id=Dk-_Hd0GdZs]
12:12:54.547 T:1562059760  NOTICE: [plugin.video.youtube] Running: YouTube (5.5.0~alpha14) on Krypton (Kodi-17.5) with Python 2.7.9
12:12:56.366 T:1958957056   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/play/?video_id=Z3PcfMVqV_w]
Youtube as changed somethigs on codec or similar ? My settings it's a Pi2 whit latest OSMC whitout DASH enabled........


RE: YouTube Plug-in Thread - qwertyy - 2018-01-09

But now inputstream (dash) doesnt work anymore with 5.4.5


RE: YouTube Plug-in Thread - anxdpanic - 2018-01-09

Thanks for the reports, it's reproducable and being looked into.


RE: YouTube Plug-in Thread - twilight0 - 2018-01-09

Unofficially, yet it includes the fix, thanks to anxdpanic for his brilliant work, I zipped and uploaded the addon with the latest changes here:
http://alivegr.net/repo/_thgiliwt/plugin.video.youtube/plugin.video.youtube-5.4.99.5.zip


RE: YouTube Plug-in Thread - DjDiabolik - 2018-01-09

Also check the update15 right now:
https://github.com/jdf76/plugin.video.youtube/releases

I like to remain pick from "Official" source...............


RE: YouTube Plug-in Thread - anxdpanic - 2018-01-09

Post #2 updated with the new version.

Note:
Offensive content setting has been removed, no longer works.
mpeg-dash is currently not available for vods, the dash url is no longer being returned with the changes on YouTube's end. Hopefully this is temporary or another method of retrieving the dash url is found, until then it has been added as an Issue


RE: YouTube Plug-in Thread - beatmasterrs - 2018-01-09

Same error when playing live stream:

php:
20:00:54.974 T:3414819744 NOTICE: [plugin.video.youtube] Running: YouTube (5.4.99.5) on Krypton (Kodi-17.6) with Python 2.7.13
20:00:59.964 T:3414819744 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: Error Contents: unknown yt_format for itag "300" Traceback (most recent call last): File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/default.py", line 7, in runner.run(__provider__) File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/runner.py", line 40, in run __RUNNER__.run(provider, context) File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/impl/xbmc/xbmc_runner.py", line 24, in run results = provider.navigate(context) File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/abstract_provider.py", line 87, in navigate result = method(context, re_match) File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/register_provider_path.py", line 11, in wrapper return func(*args, **kwargs) File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/provider.py", line 475, in on_play return yt_play.play_video(self, context, re_match) File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/yt_play.py", line 19, in play_video video_streams = client.get_video_streams(context, video_id) File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/client/youtube.py", line 79, in get_video_streams video_streams = video_info.load_stream_infos(video_id, player_config) File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/video_info.py", line 388, in load_stream_infos return self._method_get_video_info(video_id, player_config) File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/video_info.py", line 603, in _method_get_video_info stream_list = self._load_manifest(url, video_id, meta_info=meta_info) File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/video_info.py", line 487, in _load_manifest raise Exception('unknown yt_format for itag "%s"' % itag) Exception: unknown yt_format for itag "300" -->End of Python script error report<--
20:01:00.216 T:4098275424 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/play/?video_id=fwcXKXgtsZg]
20:01:05.535 T:4010795936 NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 01:04
20:01:06.529 T:3345109920 NOTICE: [plugin.video.youtube] Running: YouTube (5.4.99.5) on Krypton (Kodi-17.6) with Python 2.7.13

Still having this error with new alpha version.


RE: YouTube Plug-in Thread - DjDiabolik - 2018-01-09

(2018-01-09, 21:05)danysahne333 Wrote: Same error when playing live stream:

20:00:54.974 T:3414819744 NOTICE: [plugin.video.youtube:
Running: YouTube (5.4.99.5) on Krypton (Kodi-17.6) with Python 2.7.13 20:00:59.964 T:3414819744 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: Error Contents: unknown yt_format for itag "300" Traceback (most recent call last): File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/default.py", line 7, in runner.run(__provider__) File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/runner.py", line 40, in run __RUNNER__.run(provider, context) File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/impl/xbmc/xbmc_runner.py", line 24, in run results = provider.navigate(context) File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/abstract_provider.py", line 87, in navigate result = method(context, re_match) File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/register_provider_path.py", line 11, in wrapper return func(*args, **kwargs) File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/provider.py", line 475, in on_play return yt_play.play_video(self, context, re_match) File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/yt_play.py", line 19, in play_video video_streams = client.get_video_streams(context, video_id) File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/client/youtube.py", line 79, in get_video_streams video_streams = video_info.load_stream_infos(video_id, player_config) File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/video_info.py", line 388, in load_stream_infos return self._method_get_video_info(video_id, player_config) File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/video_info.py", line 603, in _method_get_video_info stream_list = self._load_manifest(url, video_id, meta_info=meta_info) File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/video_info.py", line 487, in _load_manifest raise Exception('unknown yt_format for itag "%s"' % itag) Exception: unknown yt_format for itag "300" -->End of Python script error report<-- 20:01:00.216 T:4098275424 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/play/?video_id=fwcXKXgtsZg] 20:01:05.535 T:4010795936 NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 01:04 20:01:06.529 T:3345109920 NOTICE: [plugin.video.youtube] Running: YouTube (5.4.99.5) on Krypton (Kodi-17.6) with Python 2.7.13 ]

Still having this error with new alpha version.
Apparently a different issue.......... there's so many errors on your logs.........

Use TAG code..........


RE: YouTube Plug-in Thread - anxdpanic - 2018-01-09

@"danysahne333" It should be fixed in next bump


RE: YouTube Plug-in Thread - burekas - 2018-01-09

Hi,

Why the maximum for video is only 720p (and 1080 for Live)?
How can I see 1080p videos from youtube on this addon?


RE: YouTube Plug-in Thread - jdf76 - 2018-01-10

because Kodi doesn't natively support mpeg-dash. There was a plugin (inputstream) that did allow 1080p but unfortunately as of yesterday it no longer works because of changes that youtube has pushed out.

You will have to settle for 720p until we otherwise say on the forum, so keep a look here.

Sorry

Jeff


RE: YouTube Plug-in Thread - DjDiabolik - 2018-01-10

About inputstream i have an idea/suggestion but i don't know it's possible to do:

It's make it external to kodi........ it's make it possible to install as addons instead right now inputstream it's be released incorporated to kodi code but his team developers can make very greatfull fix days after days. If inputstream can be installable as addons we can update our setup release after release.........


RE: YouTube Plug-in Thread - wheemer - 2018-01-11

The problem is not with the inputstream.adaptive addon, since netflix still works fine.

The problem is with youtube


RE: YouTube Plug-in Thread - anxdpanic - 2018-01-11

@DjDiabolik They are packaged separately with some linux flavors, so it's done to some extent. Though versions for Kodi 18 won't work for 17 due to changes. 

Yes, it is a YouTube add-on issue. The dash manifest url is not being returned for vod content with the parameter change, and haven't found another way yet. Currently the dash url is still returned for live, my channel, and drm content.