Kodi Community Forum

Full Version: YouTube Plug-in Thread
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So is there a way to fix without upgrade.    And or can I keep Mpeg Dash off.      Im reading about it on google Im little confused ,  kind of sounds like it should be on,  but Im not sure.    thanks
Blush hey i was requesting a feature to youtube addon, a play speed feature, just as its show on YouTube website and custom selector input. please and thanks for the great work and updates
I'm unable to playback youtube videos from STRM files for some reason suddenly. I tried rolling back the Youtube plugin to 6.3, and the issue persists (I'm back on current 6.4) now. I cleared function cache and data cache in the youtube app, and the issue persisted, so then I deleted both of those, and still it persists. I even upgraded from 18.1 to 18.2 (I was meaning to do that anyway), and the issue persists. I keep getting a Youtube error that playback failed. I am able to play videos just fine from within the Youtube app. Can someone please take a look at this logfile (debug is on) and let me know what to do to get these STRM files working again? Thanks!

[log file removed]

EDIT: It appears this was actually caused by the Emby for Kodi app, and it is a known issue. The youtube error is what threw me. Thanks anyway!
Hey there,
first of all a big 'thank you!' to the devs and all other helpful people for their continuing work and support. I've been using the YouTube Plug-in continuously for several years now and I'm happy to see that the plug-in is always updated and maintained Smile
But in the past few weeks I'm having problems that I can't seem to solve on my own, so I'm asking for help here. I'm using Kodi 18.2 on an OSMC Vero 4k+ and Youtube Plug-In 6.4.1 with my personal API keys. Since about two weeks I keep getting error messages when trying to access the plug-in:
Code:
ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/special/new_uploaded_videos_tv/
and
Code:
ERROR: [plugin.video.youtube] LoginException: [400] invalid_grant: Token has been expired or revoked.

haku and emjayuu had similar problems in the past, but their solution (logging out, reconfiguring personal API keys, logging back in again) did not work for me - at least not in the long term.

I have tried:
  • signing out and back in several times
  • deactivating and reactivating the plug-in
  • deleting settings.xml and .json-Files
  • using 'default' API keys instead of the personal ones
  • uninstalling the plug-in and deleting all plug-in data, then reinstalling the plug-in with and reconfiguring with setup wizard
  • generating new personal API keys and using them instead of the "old" ones I generated in 2016
Sometimes one of these solutions lets me use the plug-in for a short while (about 24 hours, I guess) but then the errors keep coming back. Is anyone else experiencing these problems, or is it just me? Any help will be appreciated Smile

There are several logfiles that I uploaded, please let me know if you need further information to narrow down the problem:
https://paste.kodi.tv/itidicosom.kodi
https://paste.kodi.tv/iyipatateh.kodi
https://paste.kodi.tv/gotutereqe.kodi

Best regards,
Roman
I also managed to create a debug log of that is of more use Smile
http://paste.osmc.tv/toridofovu
Hey guys, I'm upgrading to a new Fire Stick and was wondering if there's a way to bring Kodi's data on which YouTube videos I've watched with me.

I'd assumed all the viewed video data for everything was stored together in one of Kodi's core databases, but it looks like that just holds data on local media. But if I can transfer that, then there's got to be a way to transfer individual add-on data, yeah?
Hey folks. I upgraded to 18.2 and immediately trailers broke. Can anyone else confirm?
Simply watching YouTube with John Oliver. Every time it gets close to the end of the clip, the computer freezes. No access via ssh or vnc either, but ping is OK.

Raspberry-Pi 2
Operating system version/name: LibreELEC (official): 8.2.5 (RPi2.arm)
Kodi version: 17.6
Crash file http://www.tyoma.com/real/kodi_crash.log
Debug Log http://www.tyoma.com/real/kodi.old.log.gz
YouTube anxdpanic, bromix - 6.4.1
dear all,
i-ve a fresh raspberry 3 with 1.8 osmc on top
no problem at all since few days ago... when i-ve installed the youtube plugin: my osmc keep restarting and showing the Sad face... it-s not usable anymore :/
here the complete log, even if i don-t see anything strange: https://paste.osmc.tv/lasipovefa

any help will be more than appreciate... otherwise i cannot keep this fantastic addon that cause the problem almost sure
(2018-10-28, 14:33)jmh2002 Wrote: [ -> ]
(2018-10-28, 11:37)Luke Cage Wrote: [ -> ]How/Where can I find the upload date of a video ?
Or even sort on upload date ?

Media Info view (and possibly other views too) shows 'Aired' date, which is essentially the upload date. 
Came here looking for an answer to this. For others who may have recently switched to Estuary, the only view that shows the 'Aired' date is 'Shift'.
@nycman
You can keep mpeg-dash off, this will result in 720p max quality for some videos and max 360p for others.

@DimmosGeeknd
This is a player feature and is already available, for more info see: https://forum.kodi.tv/showthread.php?tid=10023

@roman_mzv 
Not sure what is causing the token invalidation, I would try 'Settings - Users - Add user', and then 'Switch user' to the new user.
The last log it appears data cache is corrupt, 'Settings - Maintenance - Delete data cache database'
I will look into better handling the token invalidation issue.

@Amedeus
It is stored in the MyVideosXX database in the 'files' table.

@bluenote
Others have reported this as well, iirc it's a busy dialog issue.
I've opened https://github.com/jdf76/plugin.video.yo...issues/607 to keep track of the issue.
If you can produce a debug log (wiki) I will add it to the issue as well

@[email protected]
The logs are incomplete, and please use a pastebin site.

@enigmahc
The log doesn't have debugging enabled so there is not much information. If you're able, reproduce the issue with debug logging enabled. see: debug log (wiki)
(2019-05-14, 22:46)enigmahc Wrote: [ -> ]dear all,
i-ve a fresh raspberry 3 with 1.8 osmc on top
no problem at all since few days ago... when i-ve installed the youtube plugin: my osmc keep restarting and showing the Sad face... it-s not usable anymore :/
here the complete log, even if i don-t see anything strange: https://paste.osmc.tv/lasipovefa

any help will be more than appreciate... otherwise i cannot keep this fantastic addon that cause the problem almost sure

i can confirm the cause of the continuesly reboot lie in some kind of problem with editing ~/.kodi/userdata/addon_data/plugin.video.youtube/settings.xml

i enabled the debug and here it is: https://paste.osmc.tv/wegijocuzu

thanks for help and i hope you can make it more and more robust! this plugin ROCKS!

my setting.xml that cause the reboot was:

osmc@osmc:~/.kodi/userdata/addon_data/plugin.video.youtube$ diff settings.xml settings.xml-ok
35c35
<     <setting id="kodion.setup_wizard">false</setting>
---
>     <setting id="kodion.setup_wizard">true</setting>
52,56c52,56
<     <setting id="youtube.api.enable">false</setting>
<     <!--setting id="youtube.api.id" value="56....nt.com"/-->
<     <!--setting id="youtube.api.key" value="AI....sQ"/-->
<     <!--setting id="youtube.api.key.switch">1</setting-->
<     <!--setting id="youtube.api.secret" value="M....Hw"/-->
---
>     <setting id="youtube.api.enable">true</setting>
>     <setting id="youtube.api.id" default="true"></setting>
>     <setting id="youtube.api.key" default="true"></setting>
>     <setting id="youtube.api.key.switch">1</setting>
>     <setting id="youtube.api.secret" default="true"></setting>
Hi!

Is it possible to open youtube add-on directly inside "My Subscriptions"?

Thanks
Yes, but it is not the addon that does this. Instead just add My Subscriptions where you want in your skin using whatever method your skin supports Smile
How to disable 60fps video with input-stream?