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 - Karellen - 2017-09-06

@ptica

Is there a particular reason you are still using v14? Do you have old hardware, or just feel that you don't want to mess up your system?


RE: YouTube Plug-in Thread - ptica - 2017-09-06

There is no possibility to upgrade to the new version KODI only xbmc gotham 13.2
http://www.prismcube.com/default_ruby.html
http://update.prismcube.com/


RE: YouTube Plug-in Thread - blueribb - 2017-09-06

(2017-09-06, 14:23)ptica Wrote: There is no possibility to upgrade to the new version KODI only xbmc gotham 13.2
http://www.prismcube.com/default_ruby.html
http://update.prismcube.com/

Have you checked out this forum for help with updating ?

http://www.prismcube-community.net/board/


RE: YouTube Plug-in Thread - ptica - 2017-09-06

(2017-09-06, 15:49)blueribb Wrote: Have you checked out this forum for help with updating ?
http://www.prismcube-community.net/board/
I'm a moderator on Openbox*prismcube ruby .Team xbmc dropped support for the Prismcube ruby . Hardware does not allow you to go Kodi14,15,16....Confused


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

you can try changing the python version, but it may not work.

Like i said we don't support below version 14.


RE: YouTube Plug-in Thread - ptica - 2017-09-07

Tried it ...did not help Thanks . Stay on 5.3.7


RE: YouTube Plug-in Thread - axlt2002 - 2017-09-07

Hi Jeff and All,

One question for clarification on my side. I'm using the 5.4.2 version (and tried also the unofficial one); is there no way to change the view of the "home" page? If I'm not wrong, this was possible until few releases ago. Below a screenshot in which the option to change the view is not available...

Image

I know that views have to be managed by Kodi and not by the add-on itself, but it seems that something is really missing here...Am I wrong?

Thanks in advance for any clarification.

Alex


RE: YouTube Plug-in Thread - jmh2002 - 2017-09-07

Please see the following from the FAQ in Post #3 on Page #1 of this thread here: https://forum.kodi.tv/showthread.php?tid=267160&pid=2299963#pid2299963

* WHY CAN'T I CHOOSE THE VIEW IN THE ADDON SETTINGS ANYMORE?


RE: YouTube Plug-in Thread - axlt2002 - 2017-09-07

(2017-09-07, 12:17)jmh2002 Wrote: Please see the following from the FAQ in Post #3 on Page #1 of this thread here: https://forum.kodi.tv/showthread.php?tid=267160&pid=2299963#pid2299963

* WHY CAN'T I CHOOSE THE VIEW IN THE ADDON SETTINGS ANYMORE?

Hi jmh2002,

Thanks for your answer.

Yes, I was aware about the policy change related to the views. In the post you referred is possible to read:

This is why only 'List', 'Big List', and 'Thumbnail' views are available now.

Actually, checking at the options that Kodi makes available, I found the following ones: WideList, Wall, InfoWall and Shift. Maybe the post needs to be updated.

Based on this, is it a correct understanding that I can not change the views for the "home" page of YouTube add-on because the "nodes" are not identified as "video"? As you can see from the screenshot I posted, there is no option to change the view. Is there any "hack" to make it possible? I would love to see the icons (i.e. Wall view) instead of the list...

Alex


RE: YouTube Plug-in Thread - anxdpanic - 2017-09-07

There doesn't appear to be any views for content type files in Estuary, which is what the content type is set to for menus.

For the main menu, changing
https://github.com/jdf76/plugin.video.youtube/blob/master/resources/lib/youtube_plugin/youtube/provider.py#L622
to
Code:
self.set_content_type(context, kodion.constants.content_type.VIDEOS)
should add the views you are looking for.

edit: Will include these changes in unofficial on next version bump.


RE: YouTube Plug-in Thread - jmh2002 - 2017-09-07

You basically have 2 options:

- Use the unofficial version and apply the relevant view codes in YouTube settings
or
- Inform your Skin Developer about these changes and refer them to this FAQ


RE: YouTube Plug-in Thread - axlt2002 - 2017-09-07

(2017-09-07, 16:19)anxdpanic Wrote: There doesn't appear to be any views for content type files in Estuary, which is what the content type is set to for menus.

For the main menu, changing
https://github.com/jdf76/plugin.video.youtube/blob/master/resources/lib/youtube_plugin/youtube/provider.py#L622
to
Code:
self.set_content_type(context, kodion.constants.content_type.VIDEOS)
should add the views you are looking for.

edit: Will include these changes in unofficial on next version bump.

Thanks a lot anxdpanic, that made the trick!

Good that you are going to include this in the next unofficial version!

Just for information, which are the other content_type that can be used so that it would be possible to enable other views?


RE: YouTube Plug-in Thread - danics - 2017-09-09

Thanks for this plugin! Video plays perfectly, but before that, I have to wait way too long on "Opening stream" (50 seconds in the logs below, other times it has taken up to 3–4 minutes when Kodi has been running for a while).

This is OpenELEC in a Raspberry Pi 2. In the past it used to spend max 5–10 seconds opening stream. I haven't updated anything lately, problem seems to have started around August.

Any advice?

Code:
22:05:44 385.070343 T:1482679360  NOTICE: -->Python Interpreter Initialized<--
22:05:51 392.207397 T:1482679360  NOTICE: [plugin.video.youtube] Running: YouTube (5.4.2) on Isengard (Kodi-15.2) with Python 2.7.3
22:05:52 393.277039 T:1482679360   ERROR: /storage/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/util/ssl_.py:334: SNIMissingWarning: An H
TTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an
incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://
urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
                                              SNIMissingWarning
22:05:52 393.282898 T:1482679360   ERROR: /storage/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/util/ssl_.py:132: InsecurePlatformWarning
: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can u
pgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
                                              InsecurePlatformWarning
22:05:53 393.452515 T:1482679360   ERROR: /storage/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/connectionpool.py:843: InsecureRequestWar
ning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usag
e.html#ssl-warnings
                                              InsecureRequestWarning)
22:05:54 394.444946 T:1482679360   ERROR: /storage/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/util/ssl_.py:132: InsecurePlatformWarning
: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can u
pgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
                                              InsecurePlatformWarning
22:05:54 394.605835 T:1482679360   ERROR: /storage/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/connectionpool.py:843: InsecureRequestWar
ning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usag
e.html#ssl-warnings
                                              InsecureRequestWarning)
22:05:59 399.914276 T:1482679360   ERROR: /storage/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/util/ssl_.py:132: InsecurePlatformWarning
: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can u
pgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
                                              InsecurePlatformWarning
22:05:59 400.173706 T:1482679360   ERROR: /storage/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/connectionpool.py:843: InsecureRequestWar
ning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usag
e.html#ssl-warnings
                                              InsecureRequestWarning)
22:06:43 443.505096 T:1967181824  NOTICE: DVDPlayer: Opening: https://r3---sn-cv0tb0xn-atoe.googlevideo.com/videoplayback?mt=1504987465&itag=22&key=yt6&lmt=14
71950244641441&ei=okm0WYa8EZbCVqWRj5AP&ratebypass=yes&initcwndbps=2165000&dur=99.102&signature=BC864CED0380222976F79BCDD534C67DDB8F4008.37F1A9A311F702F2986BC7
03E8280411294A677A&ms=au&source=youtube&mv=m&ip=176.143.192.109&requiressl=yes&mm=31&ipbits=0&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2
Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&id=o-ADugQFkaDo7N4J0QODPcy7ywfruT-HOk_W3bVcimgWrf&mime=video%2Fmp4&pl=20&expire=150
5009154&mn=sn-cv0tb0xn-atoe



RE: YouTube Plug-in Thread - anxdpanic - 2017-09-10

@axlt2002: These are all available, https://github.com/jdf76/plugin.video.youtube/blob/master/resources/lib/youtube_plugin/kodion/constants/const_content_types.py

@danics: Please provide a debug_log (wiki) and post using a pastebin site please.


5.4.3 is posted https://github.com/jdf76/plugin.video.youtube/releases/tag/5.4.5 and will be on yt repo when jdf76 has a chance.
- unofficial version includes content type change from files to videos for menus

[add] mpeg-dash support for live content (requires inputstream.adaptive >= 2.0.12)
[add] add route to update api keys
plugin://plugin.video.youtube/api/update/?enable=true&client_id=<client_id>&client_secret=<client_secret>&api_key=<api_key>
[fix/upd] refactor subtitles ** subtitles setting will be reset
[fix/upd] add My Subscriptions (Filtered) to dual login requirements
[fix/upd] only show Browse Channels when logged in
[upd] Greek strings [Twilight0]
[upd] Polish strings [Etharr]


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

Updated...