No good. Please supply the full log.
(2017-10-19, 09:43)nickr Wrote: [ -> ]Of course you need a debug log. However where are you getting the 401 error? In the addon, or in the browser where you are doing the activation?
In Kodi. I go to the activate page on a browser, it accepts the code, youtube plugin takes 2 seconds to pop back up the error 401 as an alert in the top right hand part of the KODI screens. And its not signed in.
I am using the same credentials anywhere else and it logs in.
I will try and figure out how to create a debug log and post it here.
@anxdpanic:
I thinks it's possibly a bug on lasted 5.5.0 alpha 6................. i try to explain whit my BAD english.
When you have watch a video from "My Subscription" this video has been marked as watched right ? But if this same video it's also present, or if this same video become next days, on "Trendings Now" list here this video it's not marked as already watched...... it's clearly ?
On the pass on 5.5.0 alpha all two list it's correctly "sync"......
*EDIT*
If you want to check i have make some addiction on italian "strings.po" files........... i have make a fork and request a pull.
21/5000
I hope that's the thing as been appreciated
I've updated the
alpha zips
- [upd] Italian strings [DjDiabolik]
- fixes for watched status issues introduced by incognito
- fix for double leading '/' in js player
- more descript login error notifications and logging
@DjDiabolik: Thank you very much the contribution
This zip includes that and should also fix the watched status issue you mentioned.
@Weresk: Please give this update a try if possible. If you have the same issue, you should find a line in your log just before the error similar to: DEBUG: [plugin.video.youtube] Cipher: js player: |http://www.youtube.com/yts/jsbin/player-aBcDeFG/en_US/base.js| try visiting the url you find between the ||'s in a browser and see if the file loads for you.
@Zoid420: Please give this update a try if possible as well. The error notifications and logging in the login area have been improved quite a bit. If you get 401 invalid_client: The OAuth client was not found. your client id is incorrect, if you get 401 invalid_client: Unauthorized. your client secret is incorrect. Any other response please post the
debug_log (wiki)
I, too, get the message 'No stream found' when I play back a video from YouTube. This happens when I play back from my 'Watch Later' list, and from searches.
Debug log (I think :-) ):
Code:
15:47:35.801 T:1946202304 DEBUG: ------ Window Init (DialogBusy.xml) ------
15:47:35.828 T:1463808928 DEBUG: -->Python Interpreter Initialized<--
15:47:35.829 T:1463808928 DEBUG: CPythonInvoker(72, /storage/.kodi/addons/plugin.video.youtube/resources/lib/default.py): the source f
ile to load is "/storage/.kodi/addons/plugin.video.youtube/resources/lib/default.py"
15:47:35.831 T:1463808928 DEBUG: CPythonInvoker(72, /storage/.kodi/addons/plugin.video.youtube/resources/lib/default.py): setting the
Python path to /storage/.kodi/addons/plugin.video.youtube/resources/lib:/storage/.kodi/addons/script.module.requests/lib:/usr/lib/python
27.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-dyn
load:/usr/lib/python2.7/site-packages:/usr/lib/python2.7/site-packages/gtk-2.0
15:47:35.832 T:1463808928 DEBUG: CPythonInvoker(72, /storage/.kodi/addons/plugin.video.youtube/resources/lib/default.py): entering sou
rce directory /storage/.kodi/addons/plugin.video.youtube/resources/lib
15:47:35.833 T:1463808928 DEBUG: CPythonInvoker(72, /storage/.kodi/addons/plugin.video.youtube/resources/lib/default.py): instantiatin
g addon using automatically obtained id of "plugin.video.youtube" dependent on version 2.19.0 of the xbmc.python api
15:47:36.812 T:1916437408 DEBUG: CAESinkPi:Deinitialize
15:47:36.813 T:1916437408 DEBUG: CAESinkPi:SetAudioProps hdmi_stream_channels 0 hdmi_channel_map 00000000
15:47:36.829 T:1916437408 DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.audio_render handle 0x2492f00
15:47:40.204 T:1463808928 DEBUG: [plugin.video.youtube] Using API key set: own
15:47:40.662 T:1463808928 DEBUG: [plugin.video.youtube] Starting Kodion framework by bromix...
15:47:40.961 T:1463808928 NOTICE: [plugin.video.youtube] Running: YouTube (5.4.5) on Krypton (Kodi-17.3) with Python 2.7.13
15:47:40.962 T:1463808928 DEBUG: [plugin.video.youtube] Path: "/play/
15:47:40.964 T:1463808928 DEBUG: [plugin.video.youtube] Params: "{'video_id': u'btPqKAGyajM'}"
15:47:41.189 T:1463808928 DEBUG: [plugin.video.youtube] Selecting YouTube config "All"
15:47:41.197 T:1463808928 DEBUG: [plugin.video.youtube] Access token count: |2| Refresh token count: |2|
15:47:41.198 T:1463808928 DEBUG: [plugin.video.youtube] User is logged in
15:47:41.791 T:1463808928 ERROR: /storage/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/connectionpool.py:843: Ins
ecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.r
eadthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
15:47:42.705 T:1463808928 ERROR: Previous line repeats 1 times.
15:47:42.705 T:1463808928 DEBUG: [plugin.video.youtube] Shutdown of Kodion
15:47:42.706 T:1463808928 INFO: CPythonInvoker(72, /storage/.kodi/addons/plugin.video.youtube/resources/lib/default.py): script succe
ssfully run
15:47:42.864 T:1946202304 DEBUG: ------ Window Init (DialogNotification.xml) ------
15:47:42.865 T:1916437408 INFO: CActiveAESink::OpenSink - initialize sink
15:47:42.866 T:1916437408 DEBUG: CActiveAESink::OpenSink - trying to open device PI:HDMI
15:47:42.867 T:1916437408 DEBUG: CAESinkPi:Initialize Format:15 Channels:2 Samplerate:44100 framesize:8 bufsize:17640 bytes/s=352800.0
0 dest=PI:HDMI
15:47:42.869 T:1916437408 DEBUG: CAESinkPi:SetAudioProps hdmi_stream_channels 0 hdmi_channel_map 00000008
15:47:42.879 T:1916437408 DEBUG: COMXCoreComponent::Initialize OMX.broadcom.audio_render input port 100 output port 100 m_handle 0x2a9
5f98
15:47:42.887 T:1916437408 DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.audio_render) - port(100), nBufferCountMi
n(1), nBufferCountActual(2), nBufferSize(17648), nBufferAlignmen(16)
15:47:42.889 T:1916437408 DEBUG: CActiveAESink::OpenSink - SinkPi Initialized:
15:47:42.890 T:1916437408 DEBUG: Output Device : HDMI
15:47:42.890 T:1916437408 DEBUG: Sample Rate : 44100
15:47:42.890 T:1916437408 DEBUG: Sample Format : AE_FMT_FLOAT
15:47:42.891 T:1916437408 DEBUG: Channel Count : 2
15:47:42.891 T:1916437408 DEBUG: Channel Layout: FL,FR
15:47:42.891 T:1916437408 DEBUG: Frames : 2205
15:47:42.891 T:1916437408 DEBUG: Frame Size : 8
15:47:43.246 T:1463808928 INFO: Python script stopped
15:47:43.247 T:1463808928 DEBUG: Thread LanguageInvoker 1463808928 terminating
15:47:43.267 T:1557132192 DEBUG: Thread scriptobs 1557132192 terminating
15:47:43.269 T:1946202304 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/play/?video_id=btPq
KAGyajM]
15:47:43.269 T:1946202304 DEBUG: Playlist Player: one or more items failed to play... aborting playback
15:47:43.270 T:1946202304 DEBUG: ------ Window Init (DialogConfirm.xml) ------
15:47:43.378 T:1946202304 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
15:47:43.650 T:1916437408 DEBUG: CAESinkPi:Drain delay:49ms now:0ms
15:47:45.893 T:1946202304 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0
15:47:46.013 T:1946202304 DEBUG: OnKey: return (0xf00d) pressed, action is Select
15:47:46.016 T:1916437408 NOTICE: CAESinkPi:AddPackets Underrun (delay:0.00 frames:2205)
15:47:46.021 T:1946202304 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0
15:47:46.285 T:1946202304 DEBUG: ------ Window Deinit (DialogConfirm.xml) ------
15:47:46.290 T:1946186656 DEBUG: CAnnouncementManager - Announcement: OnClear from xbmc
15:47:46.291 T:1946186656 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnClear
15:47:46.293 T:1557132192 DEBUG: Thread BackgroundLoader start, auto delete: false
What can I check? I'm using the official OpenElec setup on an RPI2 with the latest YouTube plugin, AFAIK...
Full debug log trying to play back 2 videos. One that I have already watched, on this setup, and one new:
http://sprunge.us/SjWI
Christ van Willegen
@anxdpanic...
is the least I could do to help a little for make this fantastic addons ever better......
Does this latest build blocks ads while playing Videos ?
or is there a build with built in Option of blocking ads and switching to maximal available Quality when the TV and the Box supports it ?
I've never seen ads in this addon.
But the Quality played using this Youtube Addon is not on par with the one in the TV. What should i do to get that Quality in Kodi Youtube Addon ? is there an Option to set the Quality of the Video played in this Youtube Addon to Maximum available one ?
Regarding the Ads, to be honest, i do see now and then Ads. i dont know why. i use Ad block Script at the Router Level using LEDE on Netgear Router.
Thanks in Advance.
(2017-10-12, 22:07)anxdpanic Wrote: [ -> ]I've inquired about the dash ~5 second audio loss on seeking, will let you know if I know more.
Issue should be solved with inputstream.adaptive 2.1.5 (from yesterday evening)
login problem kodi 16.1 and kodi 17.5 youtube 5.4.5
(2017-10-23, 23:04)cloneman Wrote: [ -> ]login problem kodi 16.1 and kodi 17.5 youtube 5.4.5
Debug log (wiki)
Hi, I just started using Kodi and this YouTube Add-on. Huge thanks for this plugin, DASH works good.
I've got one question, why recommendations in it barely has anything to do with stuff that I watch unlike youtube front page in web browser and I'm not interested in those videos? Is it possible to get targeted suggestions\recommendations like on youtube front page?