2017-02-26, 23:49
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
(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.
(2017-02-27, 01:46)pallisvans Wrote:Where do we input the view settings type. It used to be in the menu along with the toggle for override view(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
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
(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
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
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) ------
(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
(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.
(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
(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. My osmc install is up to date and it has remained installed and active for me.
@ReaperX: Good news! 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.
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
<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" />
(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.