• 1
  • 188
  • 189
  • 190(current)
  • 191
  • 192
  • 204
Release YouTube
First things first: I am not on cgnat, I have contacted my isp about it years ago and I have asked to never be included in one. Other than that, I tried every possible way to use another ip:
- I connected from my neighbor's wifi, which does have a different ip on the internet. Even if we were both on cgnat, it is highly improbable that we were on the same one.
- I connected via tethering from my phone.
- I rebooted my router and got a new ip.
None of the above solved my issue, so I do not thing the ip plays any important role to it.

Moving on to the important stuff. I noticed something annoying with 7.2 (on beta4 and beta5). When a video is playing, one of the cpu cores maxes out during playback. It happens both on python2 (kodi 18) and python3 (kodi 19 tested), it happens on all videos, even at 480p or lower. I have set the addon to force use h264, which is definitely hardware decoded on the laptop's gpu (I can check it on "player process info" osd). It does not happen on other h264 streams, e.g. on twitch or on iptv simple, so it is definitely something with 7.2.

With this and that, I decided to downgrade to 7.1.1.6 on both installations and stay there for the time being. The problem is that after all those installations and uninstallations, I lost a few dozens of youtube bookmarks (bookmarked on kodi, not on the addon). 
Last but not least, the addon now pops a notification that says "sign in to confirm you are not a bot" when a video does not play, but on python3.

That's all for today, time to rest. I will add once more that youtube-viewer*, which also uses the same api credentials, works fine and I will not comment on how bad the api has become. I think that the number of commits that were made on yt-dlp/youtube-dl last week to improve youtube support speaks for itself.

* https://github.com/trizen/youtube-viewer
Reply
Quote:Moving on to the important stuff. I noticed something annoying with 7.2 (on beta4 and beta5). When a video is playing, one of the cpu cores maxes out during playback. It happens both on python2 (kodi 18) and python3 (kodi 19 tested), it happens on all videos, even at 480p or lower. I have set the addon to force use h264, which is definitely hardware decoded on the laptop's gpu
I am seeing the same problem running v7.2.0+beta.4 on an Intel NUC 7.  I disabled AV1 and VP9 in the settings.

When I downgrade to 7.1.1.6, the CPU issue goes away.  But I see the intermittent "Sign in to confirm you’re not a bot" nag, despite being signed in.  I only tried the beta to try to beat this nag.  The CPU issue makes the plugin unusable.

Right now I'm testing 7.1.1.6 with commit 747fb2e9663c36e (Enable authentication if sign in is requested for player request #1016) cherry picked on top.  I think this is working, because I saw the "Sign in" error in kodi.log and then it played the video anyway.

If the source of the CPU bug isn't obvious, I can help bisect it.  It does repro 100% for me.

Side note: really appreciate the devs' efforts to work around the constant problems that Google is creating for third party viewers.  Will donate if you post a link.
Reply
(2025-01-20, 18:40)jim_p Wrote: so I do not thing the ip plays any important role to it.

You would be mistaken, but as mentioned before it is irrelevant. If it bothers you though, you have already identified an alternative that works for you.


(2025-01-20, 18:40)jim_p Wrote: I decided to downgrade to 7.1.1.6
...
the addon now pops a notification that says "sign in to confirm you are not a bot"

Have already advised that if you are being blocked then you need to use the latest beta version. If you don't want to do that then that is your choice, but you have encountered the obvious result of that choice.


(2025-01-20, 22:24)whatmeworry Wrote: The CPU issue makes the plugin unusable.

Can you clarify why it makes the plugin unusable? Are the videos unable to be played? What type of device do you use? Have tested it on a Amlogic S922X based device, underclocked to 667 MHz, and it works fine with CPU utilisation of ~80% on one core.

(2025-01-20, 22:24)whatmeworry Wrote: If the source of the CPU bug isn't obvious

It is not a bug, the CPU usage is a result of local stream requests being performed to workaround server blocks, that result in errors that InputStream.Adaptive can't handle, which prevent playback.


(2025-01-20, 22:24)whatmeworry Wrote: Will donate if you post a link.
https://kodi.tv/donate/ Smile
Reply
Quote:Can you clarify why it makes the plugin unusable? Are the videos unable to be played? What type of device do you use? Have tested it on a Amlogic S922X based device, underclocked to 667 MHz, and it works fine with CPU utilisation of ~80% on one core.
This is an Intel NUC 8.  With kodi-x11's CPU usage at 180%, the whine of the fan is so loud that it just isn't enjoyable to watch YouTube videos on the TV anymore.  I can hear it in the next room over the TV audio.

With v7.1.1.6 the CPU usage is around 40% and the NUC is silent.

I assumed this was an intended regression, because v7.1.1.6 still works fine except for the intermittent sign-in nag.  If there is an expectation that CPU usage will permanently increase by 3x+ going forward, I guess I can buy a faster HTPC or try to modify the cooling system.

/proc/cpuinfo reports 8 of these (4 physical cores, 8 threads):

Code:

processor    : 0
vendor_id    : GenuineIntel
cpu family    : 6
model        : 142
model name    : Intel® Core™ i5-8259U CPU @ 2.30GHz
stepping    : 10
microcode    : 0xf6
cpu MHz        : 2300.000
cache size    : 6144 KB
physical id    : 0
siblings    : 8
core id        : 0
cpu cores    : 4
apicid        : 0
initial apicid    : 0
fpu        : yes
fpu_exception    : yes
cpuid level    : 22
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d arch_capabilities
vmx flags    : vnmi preemption_timer invvpid ept_x_only ept_ad ept_1gb flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest ple pml ept_mode_based_exec
bugs        : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds mmio_stale_data retbleed gds
bogomips    : 4599.93
clflush size    : 64
cache_alignment    : 64
address sizes    : 39 bits physical, 48 bits virtual
power management:
Reply
(2025-01-20, 23:52)whatmeworry Wrote: If there is an expectation that CPU usage will permanently increase by 3x+ going forward, I guess I can buy a faster HTPC or try to modify the cooling system.

There may be some future optimisations, but the increase in CPU usage will be permanent.

The low powered device I tested on is passively cooled and sees a steady state temperature rise of around 10 degrees C.

A faster device wouldn't be necessary, but the cooling on your current device seems extremely poor given that you are only seeing 22.5% of max utilisation.
Reply
@whatmeworry
Thank you for confirming the issue on your end too.

@MoojMidge
It will be permanent!?!? Great Sad 2025 may be the year I will stop using it then, and there are NO alternatives available. I may "share" from my phone what I want to see, with kore and sendtokodi, since that seems to work without torturing the cpu.

Can you please mention the low powered system you run it on? Because I am pretty sure it will "fry" other low end devices without active cooling, like an s805 tvbox or the older rpis.
Other than that, 10 degrees rise in temperature (whether in F or in C) is very much and it makes a very noticeable increase in fan noise. The laptop I run it on is powered by a 3rd gen I5 and its onboard intel graphics. It gives me hardware decoding on h264, so I do not care more. If any h264 stream (or video) stresses it, I know it is not the hardware to blame but the stream.
For the record, I used to have a similar issue on iptv simple. The h264 hls stream of a very specific tv station makes cpu usage go to 100% in seconds, even on 180p (not a typo, I wrote "one hundred and eighty"), regardless of where it is played, e.g. it has the same issue on mpv. I removed it from my list and I never watched it again, not even on regular tv. 

Anyway, I want to ask for a favor. When 7.2 reaches stable, can you please add on the changelog or anywhere necessary that
- logging in with google account is mandatory for the addon to work with no interruptions
- the new version stresses the cpu more than the previous ones
so that the user will know what he will soon face? Thank you.
Reply
It's been a rough time for this addon lately and I just wanna appreciate the devs.  It's the main way I consume YouTube (As Kodi is the main way I consume media) while there's dips and bumps, someone is always trying to fix the next in an endless series of problems caused by YouTube changing things on their end.
Reply
I too am now unable to view videos with the youtube addon. I usually use the kassi or 'send to youtube' firefox addon to watch videos. I have the developer api keys configured and the addon has worked well for the last few years.
This box runs osmc and is on Kodi 21 with youtube addon v7.1.1.6.
The last couple of days has seen the occasional video refuse to play with the message 'sign in to confirm you're not a bot' but trying again has worked, this has happened more frequently today and is now refusing to play anything.
Reply
How can be solved the "sign in to confirm that you are not a bot" message?

I tried clicking at "sign in" on the addon and a LoginException error appears with this detail "The OAuth Client was not found code 401".

Any ideas?

Thanks.
Reply
As an update, I have created a new api key and added this to the addon, the addon then completes the sign in process and the code entered in the google.com/device web page, this succeeds and the addon is now showing as signed in, but I am unable to watch any videos, nothing is shown in any of the options. Trying to 'send to kodi' from firefox results in the same message as above 'sign in to confirm you're not a bot'.
Reply
I'm also having this issue, it was intermittent a few days ago but now it's permanent. I can login into my account and see all the subscriptions, and everything but the videos won't play. I've never used a VPN.

Went to the API site and it says it will change in a few days to make it easier to users (we will need a new API guide soon), so I guess it is related to it, website has no oauth tab anymore so I don't know what's the deal there.

I have signed out of the addon and back in, one thing I noticed is that it usually asks for 2 app permission but now it only asks for one. I also logged out/back from my browser.
Reply
Please take the time to read the recent posts discussing this exact same issue.

That is the entire point of having a forum discussion, and it is a waste of time responding if multiple people are just going to ignore what has been written and instead repeat the exact same questions again.

https://forum.kodi.tv/showthread.php?tid...pid3222613
Reply
I was on 7.1.1.6 and was getting the "sign in to prove you're not a bot" error .
After upgrading to 7.2.0beta4, I am no longer getting that error . Thanks to the devs .

Kodi 20.2
Ubuntu 22.04
Reply
Adding to that "get a new ip because the current one is banned" myth.
36 hours with a brand new ip and I have watched like 5 videos, maybe 10 if you count the ones that were trash and I stopped them from the first minute. NONE inside a browser, all in either kodi or youtube-viewer, which both use the api, and maybe 3 out of 10 in kodi. And today I got the error on the very first vid I tried to watch! It is amazing how bad the api has become in just a few weeks.
Reply
Hmm sorry I did read the comments but for some reason I thought there was no fix yet. The beta seems to work so far, I'm on Matrix 19.5 and this is the one that worked for me 
https://github.com/anxdpanic/plugin.vide...beta.4.zip
Reply
  • 1
  • 188
  • 189
  • 190(current)
  • 191
  • 192
  • 204

Logout Mark Read Team Forum Stats Members Help
YouTube0