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 - domrol - 2019-02-16

For those using Kodi 18.1 the bands announce movies are broadcast via YouTube in 720p, while the same ones read via the YouTube application installed by default on our Android box are in 1080p.

How to configure the Kodi application to call the application rather than the extension that is restrained ...: roll:
Or how to unblock the video extension?


RE: YouTube Plug-in Thread - anxdpanic - 2019-02-16

@domrol
For qualities >720p, InputStream Adaptive must be installed, configured and then enabled in the YouTube add-on. (Settings - MPEG-DASH - Use MPEG-DASH and Use for videos)
You'll find plenty of information throughout this thread.


RE: YouTube Plug-in Thread - ozzyman - 2019-02-17

(2019-02-16, 15:14)anxdpanic Wrote: @ozzyman
Can you provide the video id, so I can check on the live stream with Kodi 18
 https://www.youtube.com/watch?v=1ph8qQnjXts HSN Live Stream (Youtube Channel: HSNtv)
(Btw separate thing for live streams with closed captions like this kodi don't ask subtitles and don't show them)


RE: YouTube Plug-in Thread - domrol - 2019-02-17

Hi anxdpanic,

Thank you, it's ok now.


RE: YouTube Plug-in Thread - el_salvadore - 2019-02-17

Youtube is giving error about owner of the video restricted to play it in another browser, can it be somehow overruled or... Debug log here, any help highly appreciated.


RE: YouTube Plug-in Thread - Arber - 2019-02-17

Sorry for what may be a daft question, but is there any way to do a search for a query and return just the videos? So the playlist/channels/live sections would not appear?


RE: YouTube Plug-in Thread - siliconhippy - 2019-02-18

@anxdpanic

Edit #2.
My mistake with grayed out MPEG DASH menus, and I apologize 😗😴

What happened is that the "S905" box label (per About in Android Settings) on this spare box I have is false: turns out it is actually a c2013 Rockchip 3066 CPU according to CPU-Z app ! No wonder I couldn't install CoreElec/ AlexElec on this Android 5.1.1 box via SD card/USB stick... Hahaha 👺👹👿

When I installed Kodi 18 (RC1) from Playstore on my trusted X96mini S905W 1/8 GB box, the mpd settings were OK.

In fact I now get both VP9 and HLS under mpd working fine. Even non mpd HLS seems to have improved with 2.3.15/6.4.0 versions, freeze replaced with some initial buffering and some audio lag.

Hopefully HLS will be completely fixed in the real Kodi 18.1 updates.

------Ignore below within dotted lines----------
I installed Kodi 18.1 RC1 on my x96mini 1/8 GB S905W Android box and am trying to configure both your 6.4.0 version and inputstream.adaptive 2.3.15.

Under input, I have max secure/general decoder both set to 720p, and whether I set to manual or automatic stream, I see that the MPEG DASH menus are all grayed out in 6.4.0 ( default is 720p under General tab, unchanged.) With General tab setting changed to Always Ask For Quality, I don't get the mpd listing on top as before, just the HLS ones.

So the live videos play under HLS, but some have freezing and lack of audio. Only the mpd mode seemed to have worked fine for me since a few versions ago and also has faster channel switching !

***How can I go back to mpd streaming?
------------

Edit#1. Also tried AlexElec 3.03 (Kodi 18 RC1) with inputstream.adaptive v 2.3.13 and Youtube plugin v6.4.0. I got HLS streaming fine, but audio and video stutter/freeze with mpd.

On the contrary CoreElec 9.0.0 ( Kodi 18) (on the same X96mini 1/8G in both cases) with inputstream.adaptive v2.3.12 and YouTube plugin v 6.4.0 a couple days ago had fine mpd streaming but HLS streaming has stutter/freeze !


RE: YouTube Plug-in Thread - elreymon - 2019-02-19

Hello:

I´ve been studying the code to make my own hack of the plugin. Essentially what I want is the plugin to remove a video from my own playlist once it has been completly seen.
But I don´t understand one thing (the code is really obscure and have almost no comments).
When I play a list with the option "Play form here" I notice that the addon is called once for every video, in this way

t16:17:54.229 T:10808  NOTICE:
[plugin.video.youtube] Running: YouTube (6.4.0) on Krypton (Kodi-17.6) with Python 2.7.13
=10ptPath: /play/=10ptParams: {'video_id': '4MNSwW9bb2c'}"

A call having only the video_id (not the playlist_id) as a parameter. The questions are:
1.- How can kodi or the plugin the "memory" to call the rest of the videos?
2.- In this scenario how can be the passed the playlist?

Thanks in advance.


RE: YouTube Plug-in Thread - Kaziya - 2019-02-20

I've been noticing seemingly random videos not working under kodi, no clear reason given, just attempts to play and fails to open the stream.

I also noticed on my phone on YouTube it shows the file approx 1/4 played (redline under Thumbnail)

Any idea?

Here is a snip of the log of an example:


2019-02-18 16:34:14.031 T:6596  NOTICE: [plugin.video.youtube] Running: YouTube (6.4.0) on Leia (Kodi-18.1) with Python 2.7.13
                                                Path: /
                                                Params: {}
2019-02-18 16:34:16.819 T:6596  NOTICE: [plugin.video.youtube] Running: YouTube (6.4.0) on Leia (Kodi-18.1) with Python 2.7.13
                                                Path: /special/new_uploaded_videos_tv/
                                                Params: {}
2019-02-18 16:34:33.532 T:6596  NOTICE: [plugin.video.youtube] Running: YouTube (6.4.0) on Leia (Kodi-18.1) with Python 2.7.13
                                                Path: /play/
                                                Params: {'video_id': '4GAVD4JIgz4'}
2019-02-18 16:34:35.086 T:1816  NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.youtube/play/?video_id=4GAVD4JIgz4
2019-02-18 16:34:35.863 T:7872  NOTICE: Creating InputStream
2019-02-18 16:34:36.894 T:7872  NOTICE: Creating Demuxer
2019-02-18 16:34:37.146 T:7872  NOTICE: Opening stream: 0 source: 256
2019-02-18 16:34:37.146 T:7872  NOTICE: Creating video codec with codec id: 27
2019-02-18 16:34:37.146 T:7872  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
2019-02-18 16:34:37.146 T:7872  NOTICE: Creating video thread
2019-02-18 16:34:37.146 T:8508  NOTICE: running thread: video_thread
2019-02-18 16:34:37.149 T:7872  NOTICE: Opening stream: 1 source: 256
2019-02-18 16:34:37.149 T:7872  NOTICE: Finding audio codec for: 86018
2019-02-18 16:34:37.150 T:7872  NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2019-02-18 16:34:37.150 T:7872  NOTICE: Creating audio thread
2019-02-18 16:34:37.150 T:3620  NOTICE: running thread: CVideoPlayerAudio:Tonguerocess()
2019-02-18 16:34:37.161 T:3620  NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 44100, no pass-through)
2019-02-18 16:34:37.178 T:1816  NOTICE: DXVA::CProcessorHD::InitProcessor: supported deinterlace methods: blend:yes, bob:yes, adaptive:yes, mocomp:no.
2019-02-18 16:34:37.194 T:1816 WARNING: CWinRenderer::UpdateVideoFilter: chosen scaling method 1 is not supported by renderer
2019-02-18 16:34:37.430 T:8508  NOTICE: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 33366
2019-02-18 16:35:34.553 T:7144  NOTICE: ES: Client  from ::ffff:10.25.25.126 timed out
2019-02-18 16:36:30.450 T:1816  NOTICE: DXVA::CDecoder::Close: closing decoder.
2019-02-18 16:36:45.383 T:1816  NOTICE: Previous line repeats 2 times.
2019-02-18 16:36:45.383 T:1816   ERROR: Control 50 in window 10025 has been asked to focus, but it can't
2019-02-18 16:37:39.897 T:6596  NOTICE: [plugin.video.youtube] Running: YouTube (6.4.0) on Leia (Kodi-18.1) with Python 2.7.13
                                                Path: /play/
                                                Params: {'video_id': 'tWIOAdmEwZc'}
2019-02-18 16:37:42.041 T:1816  NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.youtube/play/?video_id=tWIOAdmEwZc
2019-02-18 16:37:42.306 T:7872  NOTICE: Creating InputStream
2019-02-18 16:37:42.808 T:7872  NOTICE: Creating Demuxer
2019-02-18 16:37:42.935 T:4580   ERROR: CCurlFile::FillBuffer - Failed: Transferred a partial file(18)
2019-02-18 16:37:42.935 T:4580 WARNING: CCurlFile::FillBuffer - Reconnect, (re)try 1
2019-02-18 16:37:43.177 T:4580   ERROR: CCurlFile::FillBuffer - Failed: Transferred a partial file(18)
2019-02-18 16:37:43.177 T:4580 WARNING: CCurlFile::FillBuffer - Reconnect, (re)try 2
2019-02-18 16:37:43.412 T:4580   ERROR: CCurlFile::FillBuffer - Failed: Transferred a partial file(18)
2019-02-18 16:37:43.417 T:7872   ERROR: CDVDDemuxFFmpeg::Open - Error, could not open file https://r3---sn-cxaa5ap5ou-tnwe.googlevideo.com/videoplayback?initcwndbps=1037500&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&id=o-AIJ4NNI47B7bMxWnzoY-uUaNW1mrpIrgCZKjgwZClU3O&signature=62B7852E3EBC76AE4C521ECFFF419A22DF9EC1B1.9F7D47C06A00A68A7FE055EA317A34139E642E78&lmt=1550469241754963&fvip=1&ei=lRdrXJ2uOY-rhgajuabAAQ&ipbits=0&key=yt6&itag=22&mime=video%2Fmp4&ip=142.134.96.228&ms=au%2Crdu&mv=m&mt=1550522140&dur=416.682&requiressl=yes&pl=21&c=WEB&expire=1550543862&ratebypass=yes&txp=4432432&mn=sn-cxaa5ap5ou-tnwe%2Csn-ab5l6nzl&mm=31%2C29&source=youtube
2019-02-18 16:37:43.417 T:7872   ERROR: CVideoPlayer::OpenDemuxStream - Error creating demuxer
2019-02-18 16:37:43.417 T:7872  NOTICE: CVideoPlayer::OnExit()
2019-02-18 16:37:43.417 T:7872  NOTICE: Closing stream player 1
2019-02-18 16:37:43.417 T:7872  NOTICE: Waiting for audio thread to exit
2019-02-18 16:37:43.427 T:3620  NOTICE: thread end: CVideoPlayerAudio::OnExit()
2019-02-18 16:37:43.427 T:7872  NOTICE: Closing audio device
2019-02-18 16:37:43.427 T:7872  NOTICE: Deleting audio codec
2019-02-18 16:37:43.427 T:7872  NOTICE: Closing stream player 2
2019-02-18 16:37:43.427 T:7872  NOTICE: waiting for video thread to exit
2019-02-18 16:37:43.427 T:8508   ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
2019-02-18 16:37:43.428 T:8508  NOTICE: thread end: video_thread
2019-02-18 16:37:43.428 T:7872  NOTICE: deleting video codec
2019-02-18 16:37:43.436 T:7872  NOTICE: DXVA::CDecoder::Close: closing decoder.
2019-02-18 16:37:43.436 T:7872  NOTICE: DXVA: closing decoder context.
2019-02-18 16:37:43.488 T:1816  NOTICE: CVideoPlayer::CloseFile()
2019-02-18 16:37:43.488 T:1816  NOTICE: VideoPlayer: waiting for threads to exit
2019-02-18 16:37:43.488 T:1816  NOTICE: VideoPlayer: finished waiting
2019-02-18 16:37:43.658 T:9560   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.KeyError'>
                                            Error Contents: 'tvshowid'
                                            Traceback (most recent call last):
                                              File "C:\Users\kaziya\AppData\Roaming\Kodi\addons\script.lazytv\service.py", line 357, in onPlayBackStopped
                                                pre_showid  = Main.nextprompt_info['tvshowid']
                                            KeyError: 'tvshowid'
                                            -->End of Python script error report<--
2019-02-18 16:37:45.446 T:6596  NOTICE: [plugin.video.youtube] Running: YouTube (6.4.0) on Leia (Kodi-18.1) with Python 2.7.13
                                                Path: /play/
                                                Params: {'video_id': 'tWIOAdmEwZc'}
2019-02-18 16:37:47.016 T:1816  NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.youtube/play/?video_id=tWIOAdmEwZc
2019-02-18 16:37:47.150 T:588  NOTICE: Creating InputStream
2019-02-18 16:37:47.274 T:588  NOTICE: Creating Demuxer
2019-02-18 16:37:47.562 T:7900   ERROR: CCurlFile::FillBuffer - Failed: Transferred a partial file(18)
2019-02-18 16:37:47.562 T:7900 WARNING: CCurlFile::FillBuffer - Reconnect, (re)try 1
2019-02-18 16:37:47.802 T:7900   ERROR: CCurlFile::FillBuffer - Failed: Transferred a partial file(18)
2019-02-18 16:37:47.802 T:7900 WARNING: CCurlFile::FillBuffer - Reconnect, (re)try 2
2019-02-18 16:37:48.044 T:7900   ERROR: CCurlFile::FillBuffer - Failed: Transferred a partial file(18)
2019-02-18 16:37:48.072 T:588  NOTICE: Opening stream: 0 source: 256
2019-02-18 16:37:48.072 T:588  NOTICE: Creating video codec with codec id: 27
2019-02-18 16:37:48.072 T:588  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
2019-02-18 16:37:48.072 T:588  NOTICE: Creating video thread
2019-02-18 16:37:48.075 T:2552  NOTICE: running thread: video_thread
2019-02-18 16:37:48.076 T:588  NOTICE: Opening stream: 1 source: 256
2019-02-18 16:37:48.076 T:588  NOTICE: Finding audio codec for: 86018
2019-02-18 16:37:48.077 T:588  NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2019-02-18 16:37:48.077 T:588  NOTICE: Creating audio thread
2019-02-18 16:37:48.077 T:588  NOTICE: CVideoPlayer::OnExit()
2019-02-18 16:37:48.077 T:588  NOTICE: VideoPlayer: eof, waiting for queues to empty
2019-02-18 16:37:48.077 T:4780  NOTICE: running thread: CVideoPlayerAudio:Tonguerocess()
2019-02-18 16:37:48.078 T:588  NOTICE: Closing stream player 1
2019-02-18 16:37:48.078 T:588  NOTICE: Waiting for audio thread to exit
2019-02-18 16:37:48.089 T:4780  NOTICE: thread end: CVideoPlayerAudio::OnExit()
2019-02-18 16:37:48.089 T:588  NOTICE: Closing audio device
2019-02-18 16:37:48.089 T:588  NOTICE: Deleting audio codec
2019-02-18 16:37:48.089 T:588  NOTICE: Closing stream player 2
2019-02-18 16:37:48.089 T:588  NOTICE: waiting for video thread to exit
2019-02-18 16:37:48.089 T:2552   ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
2019-02-18 16:37:48.089 T:2552  NOTICE: thread end: video_thread
2019-02-18 16:37:48.090 T:588  NOTICE: deleting video codec
2019-02-18 16:37:48.121 T:1816  NOTICE: CVideoPlayer::CloseFile()
2019-02-18 16:37:48.121 T:1816  NOTICE: VideoPlayer: waiting for threads to exit
2019-02-18 16:37:48.121 T:1816  NOTICE: VideoPlayer: finished waiting
2019-02-18 16:37:48.121 T:1816  NOTICE: CVideoPlayer::CloseFile()
2019-02-18 16:37:48.121 T:1816  NOTICE: VideoPlayer: waiting for threads to exit
2019-02-18 16:37:48.121 T:1816  NOTICE: VideoPlayer: finished waiting
2019-02-18 16:38:06.806 T:6596  NOTICE: [plugin.video.youtube] Running: YouTube (6.4.0) on Leia (Kodi-18.1) with Python 2.7.13
                                                Path: /video/more/
                                                Params: {'refresh_container': '0', 'logged_in': '1', 'video_id': 'tWIOAdmEwZc'}
2019-02-18 16:38:16.198 T:2752  NOTICE: [plugin.video.youtube] Running: YouTube (6.4.0) on Leia (Kodi-18.1) with Python 2.7.13
                                                Path: /play/
                                                Params: {}
2019-02-18 16:38:24.517 T:2752  NOTICE: [plugin.video.youtube] Running: YouTube (6.4.0) on Leia (Kodi-18.1) with Python 2.7.13
                                                Path: /play/
                                                Params: {'video_id': 'CJWR5m_z5FE'}
2019-02-18 16:38:26.410 T:1816  NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.youtube/play/?video_id=CJWR5m_z5FE
2019-02-18 16:38:26.760 T:1448  NOTICE: Creating InputStream
2019-02-18 16:38:27.426 T:1448  NOTICE: Creating Demuxer
2019-02-18 16:38:27.524 T:1448  NOTICE: Opening stream: 0 source: 256
2019-02-18 16:38:27.524 T:1448  NOTICE: Creating video codec with codec id: 27
2019-02-18 16:38:27.524 T:1448  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
2019-02-18 16:38:27.524 T:1448  NOTICE: Creating video thread
2019-02-18 16:38:27.525 T:6420  NOTICE: running thread: video_thread
2019-02-18 16:38:27.525 T:1448  NOTICE: Opening stream: 1 source: 256
2019-02-18 16:38:27.526 T:1448  NOTICE: Finding audio codec for: 86018
2019-02-18 16:38:27.526 T:1448  NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2019-02-18 16:38:27.526 T:1448  NOTICE: Creating audio thread
2019-02-18 16:38:27.526 T:4124  NOTICE: running thread: CVideoPlayerAudio:Tonguerocess()
2019-02-18 16:38:27.537 T:4124  NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 44100, no pass-through)
2019-02-18 16:38:27.549 T:1816  NOTICE: DXVA::CProcessorHD::InitProcessor: supported deinterlace methods: blend:yes, bob:yes, adaptive:yes, mocomp:no.
2019-02-18 16:38:27.559 T:1816 WARNING: CWinRenderer::UpdateVideoFilter: chosen scaling method 1 is not supported by renderer
2019-02-18 16:38:27.804 T:6420  NOTICE: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 33333
2019-02-18 16:38:38.598 T:1816   ERROR: Control 50 in window 10025 has been asked to focus, but it can't
2019-02-18 16:40:31.905 T:7144  NOTICE: ES: Client  from ::ffff:10.25.25.126 timed out
2019-02-18 16:42:15.369 T:5132  NOTICE: [plugin.video.youtube] Running: YouTube (6.4.0) on Leia (Kodi-18.1) with Python 2.7.13
                                                Path: /play/
                                                Params: {'video_id': 'XL2Q7RGD0PM'}
2019-02-18 16:42:16.933 T:1816  NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.youtube/play/?video_id=XL2Q7RGD0PM
2019-02-18 16:42:17.434 T:6420 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
2019-02-18 16:42:17.491 T:1448  NOTICE: Creating InputStream
2019-02-18 16:42:18.532 T:1448  NOTICE: Creating Demuxer
2019-02-18 16:42:18.718 T:1144   ERROR: CCurlFile::FillBuffer - Failed: Transferred a partial file(18)
2019-02-18 16:42:18.718 T:1144 WARNING: CCurlFile::FillBuffer - Reconnect, (re)try 1
2019-02-18 16:42:19.000 T:1144   ERROR: CCurlFile::FillBuffer - Failed: Transferred a partial file(18)
2019-02-18 16:42:19.000 T:1144 WARNING: CCurlFile::FillBuffer - Reconnect, (re)try 2
2019-02-18 16:42:19.286 T:1144   ERROR: CCurlFile::FillBuffer - Failed: Transferred a partial file(18)
2019-02-18 16:42:19.334 T:1448   ERROR: CDVDDemuxFFmpeg::Open - Error, could not open file https://r4---sn-ab5sznle.googlevideo.com/videoplayback?dur=849.502&txp=4432432&fvip=4&ratebypass=yes&signature=5B2A8B832F7C8D86F469943C5A34993F1C91AE99.322722DB17827BC8197EFDA51754A22326D28AC1&lmt=1550439686699850&requiressl=yes&pl=21&source=youtube&c=WEB&mime=video%2Fmp4&ip=142.134.96.228&ipbits=0&key=cms1&itag=22&expire=1550544137&sparams=dur,ei,expire,id,ip,ipbits,itag,lmt,mime,mm,mn,ms,mv,pl,ratebypass,requiressl,source&ei=qBhrXMq7OITBhwbBopDQDQ&id=o-AARTbElecPQCs8N9uux7OjvwqC6igWxvZIoNMwYFM3fr&redirect_counter=1&cm2rm=sn-cxaa5ap5ou-tnwe7l&req_id=9ce59300074336e2&cms_redirect=yes&mm=29&mn=sn-ab5sznle&ms=rdu&mt=1550522477&mv=m&ir=1&rr=12
2019-02-18 16:42:19.334 T:1448   ERROR: CVideoPlayer::OpenDemuxStream - Error creating demuxer
2019-02-18 16:42:19.334 T:1448  NOTICE: CVideoPlayer::OnExit()
2019-02-18 16:42:19.334 T:1448  NOTICE: Closing stream player 1


Here is a list of recent examples.
https://youtu.be/tWIOAdmEwZc
https://youtu.be/XL2Q7RGD0PM


RE: YouTube Plug-in Thread - DarrenHill - 2019-02-20

Which part of "Do not post logs in the forum. Use https://paste.kodi.tv/ instead." wasn't clear in the text above the post button?

Please use the paste site (or pastebin.com or similar) to post a full debug log (wiki) and supply their link here, so your log spam above can be removed and the board database kept clean.


RE: YouTube Plug-in Thread - anxdpanic - 2019-02-20

@el_salvadore
I don't believe so, will keep it in mind though.

@Arber
Currently no, can you explain the use case?

@elreymon
The addon creates 'plugin://plugin.video.youtube/play/?video_id=<video_id>' links for all videos in the playlist, all videos you see in the YouTube add-on have a similar url.
When those urls are executed the add-on is called with that url, and then the add-on resolves the video with the provided id.
If you take a look at the same log lines when navigating folders, you'll see that the same process happens there. 

Docs: https://codedocs.xyz/xbmc/xbmc/group__python.html
Playlists: https://codedocs.xyz/xbmc/xbmc/group__python___play_list.html

You could also look at a creating a basic add-on to do what you're wanting;
https://kodi.wiki/view/Add-on_development
https://github.com/jdf76/plugin.video.youtube/blob/master/resources/lib/youtube_requests.py
https://github.com/jdf76/plugin.video.youtube/blob/master/resources/lib/youtube_resolver.py


RE: YouTube Plug-in Thread - Arber - 2019-02-20

(2019-02-20, 16:27)anxdpanic Wrote: @Arber
Currently no, can you explain the use case?
 I had an idea of making a list of searches for my kids (ie: 'paw+patrol', 'my+little+pony', etc) and have them link via shortcuts (they like to watch those videos of other kids playing with toys *shrug*).

I wanted to simplify the results by just returning the videos, since they don't really need the other three entries.


RE: YouTube Plug-in Thread - anxdpanic - 2019-02-20

@Arber
In ~alpha3, I've added a parameter to achieve this. It's not usable from within the add-on only from custom urls.
Example for a favorite;
Code:
ActivateWindow(10025,&quot;plugin://plugin.video.youtube/kodion/search/query/?q=paw%20patrol&amp;hide_folders=true&quot;,return)
.


RE: YouTube Plug-in Thread - Arber - 2019-02-20

(2019-02-20, 19:10)anxdpanic Wrote: @Arber
In ~alpha3, I've added a parameter to achieve this. It's not usable from within the add-on only from custom urls.
Example for a favorite;
Code:
ActivateWindow(10025,&quot;plugin://plugin.video.youtube/kodion/search/query/?q=paw%20patrol&amp;hide_folders=true&quot;,return)
.

Thank you! Much appreciated!


RE: YouTube Plug-in Thread - G12345567 - 2019-02-24

Is it possible to get Youtube plug-in to play videos at a resolution higher than 720p?

I've gone through many threads and setting in this forum as well as on the net. but no matter what I configure the plugins and addons to the max I am offered when playing back a video is 720p.

Can someone please help in how to get 10080p or higher to be recognised in youtube when playing back videos.

Using the latest 6.4.0 Youtube plug-in and newest kodi 8.1.