• 1
  • 142
  • 143
  • 144(current)
  • 145
  • 146
  • 199
Release YouTube Plug-in Thread
Apologize for that, the error in the alpha1 was an error on my part. Should be good to go now, https://github.com/jdf76/plugin.video.yo...alpha2.zip
Debug Log (wiki) | Troubleshooting (wiki)Add-ons
(2017-02-26, 22:11)NoTanFightFan Wrote: I understand the YouTube app no longer allows for overriding the view. I find navigating the current app to be very frustrating, because there is no longer a description or username shown on any of the views allowed, however playback is wonderful. So, is there a theme I could switch to, or another app I could use in combination with this one, that would allow me to change the view for this app so that I can see a description and username again? The unofficial version was beginning to have playback issues with many videos, blocking them from playback, causing me to have no choice but to switch back to the official app. Any suggestions would be appreciated.


I forked the newest version (5.3.10) and restored the old viewsettings. This is an unofficial branch but I hope I can help someone out Smile

Instructions
1. Delete your existing youtube-plugin.
2. Install from zip within Kodi.

You might get an error running the plugin for the first time!

Tested with reFocus skin on Jarvis (Linux) and reFocus skin on Krypton (OSX)

Download zip from github
Still no worky on the alpha, I can log in now and see lists of videos but now it crashes to desktop or freezes

http://pastebin.com/4SsVeR9J
Thanks, from what I can tell it's going to require something outside of Kodi to be resolved. We're getting outside of my scope at this point but main things I would look into would be OpenSSL, pyopenssl and cryptography.
It does look like it was mentioned uninstalling pyopenssl to resolve it as well in the issue I posted previously, may be worth a try if not needed for anything else.
Debug Log (wiki) | Troubleshooting (wiki)Add-ons
(2017-02-27, 01:46)pallisvans Wrote:
(2017-02-26, 22:11)NoTanFightFan Wrote: I understand the YouTube app no longer allows for overriding the view. I find navigating the current app to be very frustrating, because there is no longer a description or username shown on any of the views allowed, however playback is wonderful. So, is there a theme I could switch to, or another app I could use in combination with this one, that would allow me to change the view for this app so that I can see a description and username again? The unofficial version was beginning to have playback issues with many videos, blocking them from playback, causing me to have no choice but to switch back to the official app. Any suggestions would be appreciated.


I forked the newest version (5.3.10) and restored the old viewsettings. This is an unofficial branch but I hope I can help someone out Smile

Instructions
1. Delete your existing youtube-plugin.
2. Install from zip within Kodi.

You might get an error running the plugin for the first time!

Tested with reFocus skin on Jarvis (Linux) and reFocus skin on Krypton (OSX)

Download zip from github
Where do we input the view settings type. It used to be in the menu along with the toggle for override view
(2017-02-27, 01:46)pallisvans Wrote:
(2017-02-26, 22:11)NoTanFightFan Wrote: I understand the YouTube app no longer allows for overriding the view. I find navigating the current app to be very frustrating, because there is no longer a description or username shown on any of the views allowed, however playback is wonderful. So, is there a theme I could switch to, or another app I could use in combination with this one, that would allow me to change the view for this app so that I can see a description and username again? The unofficial version was beginning to have playback issues with many videos, blocking them from playback, causing me to have no choice but to switch back to the official app. Any suggestions would be appreciated.


I forked the newest version (5.3.10) and restored the old viewsettings. This is an unofficial branch but I hope I can help someone out Smile

Instructions
1. Delete your existing youtube-plugin.
2. Install from zip within Kodi.

You might get an error running the plugin for the first time!

Tested with reFocus skin on Jarvis (Linux) and reFocus skin on Krypton (OSX)

Download zip from github

I'll talk to someone to see if we can do an update.

Jeff
Hi,

I am having issues with logging into youtube via the addon. After entering the first code at youtube.com/activate the addon gives a login failed notification. I have created the api keys as detailed in the first post, and tried have deleting 'YouTube TV' from the google 'apps connected to your account' webpage. I have also tried with v5.3.11alpha2 from GitHub.

I cant see anything of interest in the kodi debug log file:
Code:
16:44:33.553 T:139963303712512    INFO: Python script stopped
16:44:33.553 T:139963303712512   DEBUG: Thread LanguageInvoker 139963303712512 terminating
16:44:33.575 T:139964048083072   ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/sign/in/
16:44:33.576 T:139964048083072   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/sign/in/) failed
16:44:33.576 T:139964048083072   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.youtube/)
16:44:33.576 T:139964048083072   DEBUG:   ParentPath = [plugin://plugin.video.youtube/]
16:44:33.577 T:139964048083072   DEBUG: Loading items: 6, directory: plugin://plugin.video.youtube/ sort method: 0, ascending: false
16:44:33.690 T:139963320497920   DEBUG: CAddonDatabase::SetLastUsed[plugin.video.youtube] took 113 ms
16:44:33.691 T:139963303712512   DEBUG: Thread JobWorker start, auto delete: true
16:44:33.697 T:139963312105216   DEBUG: Thread BackgroundLoader start, auto delete: false
16:44:33.712 T:139963312105216   DEBUG: Thread BackgroundLoader 139963312105216 terminating
16:44:33.852 T:139964048083072   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
16:44:34.871 T:139964048083072   DEBUG: LIRC: Update - NEW at 106133:160 0 KEY_OK devinput (KEY_OK)
16:44:34.872 T:139964048083072   DEBUG: OnKey: 11 (0x0b, obc244) pressed, action is Select
16:44:34.873 T:139964048083072   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.youtube/sign/in/)
16:44:34.873 T:139964048083072   DEBUG:   ParentPath = [plugin://plugin.video.youtube/]
16:44:35.017 T:139963320497920   DEBUG: CAddonDatabase::SetLastUsed[plugin.video.youtube] took 143 ms
16:44:35.017 T:139963312105216   DEBUG: Thread JobWorker start, auto delete: true
16:44:35.018 T:139963303712512   DEBUG: StartScript - calling plugin YouTube('plugin://plugin.video.youtube/sign/in/','3','')
16:44:35.018 T:139964029150976   DEBUG: Thread LanguageInvoker start, auto delete: false
16:44:35.018 T:139964029150976    INFO: initializing python engine.
16:44:35.018 T:139964029150976   DEBUG: CPythonInvoker(5, /storage/.kodi/addons/plugin.video.youtube/default.py): start processing
16:44:35.058 T:139964029150976   DEBUG: -->Python Interpreter Initialized<--
16:44:35.058 T:139964029150976   DEBUG: CPythonInvoker(5, /storage/.kodi/addons/plugin.video.youtube/default.py): the source file to load is "/storage/.kodi/addons/plugin.video.youtube/default.py"
16:44:35.058 T:139964029150976   DEBUG: CPythonInvoker(5, /storage/.kodi/addons/plugin.video.youtube/default.py): setting the Python path to /storage/.kodi/addons/plugin.video.youtube:/storage/.kodi/addons/script.module.requests/lib:/usr/lib/python27.zip:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/lib/python2.7/site-packages:/usr/lib/python2.7/site-packages/gtk-2.0
16:44:35.059 T:139964029150976   DEBUG: CPythonInvoker(5, /storage/.kodi/addons/plugin.video.youtube/default.py): entering source directory /storage/.kodi/addons/plugin.video.youtube
16:44:35.059 T:139964029150976   DEBUG: CPythonInvoker(5, /storage/.kodi/addons/plugin.video.youtube/default.py): instantiating addon using automatically obtained id of "plugin.video.youtube" dependent on version 2.19.0 of the xbmc.python api
16:44:35.376 T:139964048083072   DEBUG: ------ Window Init (DialogBusy.xml) ------
16:44:35.818 T:139964029150976   DEBUG: [plugin.video.youtube] Using API key set: own
16:44:35.923 T:139964029150976   DEBUG: [plugin.video.youtube] Starting Kodion framework by bromix...
16:44:36.082 T:139964029150976  NOTICE: [plugin.video.youtube] Running: YouTube (5.3.11~alpha2) on Krypton (Kodi-17.0) with Python 2.7.13
16:44:36.083 T:139964029150976   DEBUG: [plugin.video.youtube] Path: "/sign/in/
16:44:36.083 T:139964029150976   DEBUG: [plugin.video.youtube] Params: "{}"
16:44:36.150 T:139964048083072   DEBUG: ------ Window Init (DialogConfirm.xml) ------
16:44:37.365 T:139964048083072   DEBUG: LIRC: Update - NEW at 108626:160 0 KEY_OK devinput (KEY_OK)
16:44:37.365 T:139964048083072   DEBUG: OnKey: 11 (0x0b, obc244) pressed, action is Select
16:44:37.634 T:139964048083072   DEBUG: ------ Window Deinit (DialogConfirm.xml) ------
16:44:37.670 T:139964029150976   DEBUG: [plugin.video.youtube] Selecting YouTube config "All"
16:44:37.671 T:139964029150976   DEBUG: [plugin.video.youtube] User is not logged in
16:44:38.254 T:139964029150976   ERROR: /storage/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/connectionpool.py:843: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
                                              InsecureRequestWarning)
16:44:39.455 T:139964029150976   DEBUG: DialogProgress::Open called
16:44:39.455 T:139964029150976   DEBUG: ------ Window Init (DialogConfirm.xml) ------
16:44:39.883 T:139964029150976   ERROR: /storage/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/connectionpool.py:843: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
                                              InsecureRequestWarning)
16:45:05.017 T:139963320497920   ERROR: Previous line repeats 4 times.
16:45:05.017 T:139963320497920   DEBUG: Thread JobWorker 139963320497920 terminating (autodelete)
16:45:05.018 T:139963312105216   DEBUG: Thread JobWorker 139963312105216 terminating (autodelete)
16:45:09.850 T:139964029150976   ERROR: /storage/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/connectionpool.py:843: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
                                              InsecureRequestWarning)
16:45:23.114 T:139964029150976   ERROR: Previous line repeats 2 times.
16:45:23.114 T:139964029150976   DEBUG: [plugin.video.youtube] Selecting YouTube config "All"
16:45:23.115 T:139964029150976   DEBUG: [plugin.video.youtube] User is not logged in
16:45:23.358 T:139964048083072   DEBUG: ------ Window Deinit (DialogConfirm.xml) ------
16:45:23.645 T:139964029150976   ERROR: /storage/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/connectionpool.py:843: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
                                              InsecureRequestWarning)
16:45:24.747 T:139964048083072   DEBUG: ------ Window Init (DialogAddonSettings.xml) ------
16:45:24.752 T:139964048083072   DEBUG: ------ Window Init (DialogNotification.xml) ------
16:45:30.543 T:139964048083072   DEBUG: ------ Window Deinit (DialogNotification.xml) ------

Any suggestions on how I can log in? Thanks
(2017-02-26, 19:27)anxdpanic Wrote: @DjDiabolik: That means the add-on will use inputstream.adaptive for dash support

For SPMC users it would be;
Code:
... setting DASH_SUPPORT_BUILTIN = True, DASH_SUPPORT_ADDON = False

And i have it installed........ and activated......... how i need to do also ?

*EDIT*
I have that folder:
/home/osmc/.kodi/userdata/addon_data/inputstream.adaptive/

But no folder on /home/osmc/.kodi/addon/.......... mmmmm it's possible disappears after the recent osmc upgrade ? Very strange because i have it installed before one week ago.

It's possibly i need to reinstall / reactivated manually Huh
...only on your "little world" can you lay down the law...
(2017-02-27, 04:09)anxdpanic Wrote: Thanks, from what I can tell it's going to require something outside of Kodi to be resolved. We're getting outside of my scope at this point but main things I would look into would be OpenSSL, pyopenssl and cryptography.
It does look like it was mentioned uninstalling pyopenssl to resolve it as well in the issue I posted previously, may be worth a try if not needed for anything else.

Success! Your new alpha at first behaved just liked lobotron described, but uninstalling pyopenssl (which was still version 0.15.1) did the trick. Based on a playing a few videos, the plugin seems to be working on my system now.

Are there any side effects of uninstalling that library?
@stanger192: All I can suggest at this point would be to double check your keys, if you want to try starting fresh you can go to Settings - Maintenance - Delete settings.xml

@DjDiabolik: Possible, you'll have to tell us. Smile My osmc install is up to date and it has remained installed and active for me.

@ReaperX: Good news! Smile Whether it's required or not would be user to user, if you don't use anything other than Kodi/add-ons that uses python then it should be fine. Now that you know though, you can easily install it again/upgrade it and try some things yourself. Should be able to have pyopenssl installed without issue (other than 16.1.0), may be worth searching/asking in the linux section.
Debug Log (wiki) | Troubleshooting (wiki)Add-ons
Hi All,

I need testing responses on all platforms. Could you replace and tell me which platforms you're using and if it works successfully. This was we can make sure if i push it out to the repo and then the kodi repo it work sok.

So Basically for the TL;DR crowd:

Need testers.

Reply here with

OS Version or if using OSMC/SPMC/Whatever say so..
Kodi Version
Youtube Plugin Version.

So far we have OSMC and macOS tested.
Jeff
(2017-02-27, 21:10)anxdpanic Wrote: @stanger192: All I can suggest at this point would be to double check your keys, if you want to try starting fresh you can go to Settings - Maintenance - Delete settings.xml

I sextuple checked them Big Grin
When copy/pasting from the websites, spaces were included before and after the text, which I removed. Do those spaces have to be included with the keys?
Is there anyway to find out exactly why the login failed? Maybe additional logging in the addon?
Also, will the addon shorten the api id from what is on the google website? What is in the settings.xml is a shortend version of what I originally put in there. Something along the lines of .googleusercontent.com... was removed.

I'll try regenerating all the keys again today.
(2017-02-27, 21:10)anxdpanic Wrote: @stanger192: All I can suggest at this point would be to double check your keys, if you want to try starting fresh you can go to Settings - Maintenance - Delete settings.xml

@DjDiabolik: Possible, you'll have to tell us. Smile My osmc install is up to date and it has remained installed and active for me.

@ReaperX: Good news! Smile Whether it's required or not would be user to user, if you don't use anything other than Kodi/add-ons that uses python then it should be fine. Now that you know though, you can easily install it again/upgrade it and try some things yourself. Should be able to have pyopenssl installed without issue (other than 16.1.0), may be worth searching/asking in the linux section.

About Adaptive.inputstream:
Also on my system........ i have 1.0.7 of inputstream installed and activated (i have tryed to disable it.... when i launch a video the addons say to me and suggest to me to enable the inputstream) but i don't understand because if i reboot my Pi2 on log the message appears ever:
Code:
20:28:07.112 T:1651504112  NOTICE: [plugin.video.youtube] Startup: detected Krypton (Kodi-17.1), setting DASH_SUPPORT_BUILTIN = False, DASH_SUPPORT_ADDON = True

I have tryed to look inside my setting.xml...... apparently this parts it's related to this little trouble:
Code:
<setting id="kodion.video.quality.ask" value="false" />
    <setting id="kodion.video.quality.mpd" value="true" />
    <setting id="kodion.video.quality.mpd.configure" value="" />
    <setting id="kodion.video.support.mpd.addon" value="true" />
    <setting id="kodion.video.support.mpd.builtin" value="false" />
How i can enable the mpd.builtin Huh On 5.3.10 i don't see any option to enable it....

I have also tryed to override manually the false and set it to TRUE......... i have reboot my Pi2 but on log appears ever the notice about dash_support_builtin......
I have back to check the setting.xml files and the previous override it's back to "false"..............................

I don't have idea... but apparently on my pi2 the current version of youtube do not found or check the current version of inputstream installed on my OSMC......
...only on your "little world" can you lay down the law...
(2017-02-28, 02:16)stanger192 Wrote: When copy/pasting from the websites, spaces were included before and after the text, which I removed. Do those spaces have to be included with the keys?
Is there anyway to find out exactly why the login failed? Maybe additional logging in the addon?
Also, will the addon shorten the api id from what is on the google website? What is in the settings.xml is a shortend version of what I originally put in there. Something along the lines of .googleusercontent.com... was removed.

The whitespace and the .apps.googleusercontent.com are stripped, the add-on adds the .apps.googleusercontent.com itself. I will see what I can do debug logging wise when I get a chance. Smile

@DjDiabolik: You are using Kodi so you can't and shouldn't manually enable mpd.builtin, that is for SPMC users. And according to those settings it looks like you are using the inputstream.adaptive add-on (quality.mpd=true and mpd.addon=true).
Debug Log (wiki) | Troubleshooting (wiki)Add-ons
^^ Infact... i don't understand because on log, during the startup of my osmc, appears the message apparently MPEG-Dash it's not used........
...only on your "little world" can you lay down the law...
  • 1
  • 142
  • 143
  • 144(current)
  • 145
  • 146
  • 199

Logout Mark Read Team Forum Stats Members Help
YouTube Plug-in Thread12