LMS-YouTube icon indicating copy to clipboard operation
LMS-YouTube copied to clipboard

youtube plugin does not work anymore

Open karel-de-macil opened this issue 1 year ago • 21 comments

Well, on a LMS version 8.4.1, youtube plugin version 0.210 When trying to play any song i get the image, the duration af the song like 3:30, but the song doesn't play and stay at 0:00/3:30. log line related are the following : [24-02-21 15:41:36.0300] Plugins::YouTube::WebM::ANON (690) could not get codec info 403 Forbidden [24-02-21 15:41:36.1482] Plugins::YouTube::WebM::ANON (636) could not find start offset 403 Forbidden [24-02-21 15:45:41.4619] Plugins::YouTube::WebM::ANON (690) could not get codec info 403 Forbidden [24-02-21 15:45:41.5446] Plugins::YouTube::WebM::ANON (636) could not find start offset 403 Forbidden

youtube access API key is there and haven't change.... any help will be most welcome

karel-de-macil avatar Feb 21 '24 14:02 karel-de-macil

[24-02-21 15:25:18.5777] Plugins::YouTube::ProtocolHandler::ANON (322) error 5 fetching https://rr2---sn-4g5lznl7.googlevideo.com/videoplayback?expire=1708547090&ei=sgfWZeT7MMyHp-oP0qqk2A0&ip=82.64.223.122&id=o-AFa-3-5fKMI_GzFik5L2bOaDS8KVsSOEQYVMpdrYCHmd&itag=251&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ==&mh=zb&mm=31,29&mn=sn-4g5lznl7,sn-25glene6&ms=au,rdu&mv=m&mvi=2&pl=19&initcwndbps=2092500&spc=UWF9f0F5wlJODD5nQOi5eXp5TktpjRrtjXcl2qJ_onEwSQg&vprv=1&svpuc=1&mime=audio/webm&ns=GX0EY8dhp26uZz5AkzgQwWIQ&gir=yes&clen=4587328&dur=280.041&lmt=1538676011443896&mt=1708525264&fvip=5&keepalive=yes&fexp=24007246&c=WEB&sefc=1&txp=5511222&n=-aGIq1DB57YuCO1&sparams=expire,ei,ip,id,itag,source,requiressl,xpc,spc,vprv,svpuc,mime,ns,gir,clen,dur,lmt&sig=AJfQdSswRgIhAIfGWfdVY6i2DqKcb4bDTOsYOWdHtGRkqXJqndUIJHvZAiEAnNeZxwHGpGUp9FrAobStsCAousPDe2JpvF04oliUqcM=&lsparams=mh,mm,mn,ms,mv,mvi,pl,initcwndbps&lsig=APTiJQcwRAIgINE1n_1iyoRkY_Dd1qqZne3n0a4jvrk4wPNUQ3dwe5YCIHq1BsjcXv6C6w6IGzvld4nwk1N7-Whn3s6XNIoD8nW3 [24-02-21 15:29:00.3348] main::init (386) Starting Logitech Media Server (v8.4.1, 1708338002, Tue 20 Feb 2024 03:01:52 AM CET) perl 5.036000 - x86_64-linux-thread-multi [24-02-21 15:41:36.0300] Plugins::YouTube::WebM::ANON (690) could not get codec info 403 Forbidden [24-02-21 15:41:36.1482] Plugins::YouTube::WebM::ANON (636) could not find start offset 403 Forbidden [24-02-21 15:45:41.4619] Plugins::YouTube::WebM::ANON (690) could not get codec info 403 Forbidden [24-02-21 15:45:41.5446] Plugins::YouTube::WebM::ANON (636) could not find start offset 403 Forbidden [24-02-21 16:13:02.9372] Plugins::YouTube::Oauth2::ANON (55) 400 Bad Request [24-02-21 16:13:03.0794] Plugins::YouTube::Oauth2::ANON (55) 400 Bad Request [24-02-21 16:14:35.7767] Plugins::YouTube::Oauth2::ANON (55) 400 Bad Request [24-02-21 16:14:42.4317] Plugins::YouTube::Oauth2::ANON (55) 400 Bad Request [24-02-21 16:14:42.5285] Plugins::YouTube::Oauth2::ANON (55) 400 Bad Request [24-02-21 16:16:01.5774] Plugins::YouTube::Oauth2::ANON (55) 400 Bad Request

karel-de-macil avatar Feb 21 '24 15:02 karel-de-macil

You probably exceeded your search quota. Wait till midnight PT

philippe44 avatar Feb 21 '24 17:02 philippe44

I doubt this that (but you certainly know the youtube mechanism better than me) :

  • because this have not work in at least on month.
  • because the same request done from a navigator work. Best regards.

karel-de-macil avatar Feb 22 '24 08:02 karel-de-macil

The navigator is fully different and do not consume these types of points. Then YT might have disabled your account as they do more and more aggressively these days. Delete the key and the project and recreate a new one from scratch

philippe44 avatar Feb 22 '24 09:02 philippe44

i have allready done this (new project, on a new google account, no change). I can send you my personnal web addresse personnaly and my application Key if you wana check the behaviour.

karel-de-macil avatar Feb 22 '24 09:02 karel-de-macil

Hello, Same issue for me with LMS server 8.5.2 Could you have a look? Thanks

Oneel77 avatar Jun 15 '24 10:06 Oneel77

[24-06-15 15:44:44.7250] Plugins::YouTube::WebM::ANON (690) could not get codec info 403 Forbidden [24-06-15 15:44:45.8567] Plugins::YouTube::WebM::ANON (690) could not get codec info 403 Forbidden [24-06-15 15:44:48.7843] Plugins::YouTube::WebM::ANON (690) could not get codec info 403 Forbidden [24-06-15 15:44:49.9208] Plugins::YouTube::WebM::ANON (690) could not get codec info 403 Forbidden [24-06-15 15:44:51.0371] Plugins::YouTube::WebM::ANON (690) could not get codec info 403 Forbidden [24-06-15 15:44:52.1611] Plugins::YouTube::WebM::ANON (690) could not get codec info 403 Forbidden

josepnv avatar Jun 15 '24 13:06 josepnv

Same problem here, just realised today. I am not sure when it started, not using Youtube on LMS too often.

Attached you'll find an LMS debug log that starts at clicking on the play icon for a video in the Youtube search results: server.log (Note that my API key has been anonymized in the log.) At the end of the log you'll find the error Plugins::YouTube::WebM::__ANON__ (690) could not get codec info 403 Forbidden.

I am using

  • Logitech Media Server Version: 8.5.2 - 1716215514 @ Sun 26 May 2024 05:49:23 PM CEST
  • YouTube 0.212

chroberino avatar Jun 19 '24 06:06 chroberino

Hello, I have the same problem since some days. It was working perfect a long time now. Since I use youtube regularly the API key shouldn't be the problem.

  • Logitech Media Server Version: 8.5.2 - 1716215514 @ Sun 26 May 2024 05:45:34 PM CES
  • YouTube 0.212

I see the same error in the log: Plugins::YouTube::WebM::ANON (690) could not get codec info 403 Forbidden

Maybe it has something to do with the location? I'm from Germany.

odin81 avatar Jun 22 '24 22:06 odin81

Hi @odin81 . If the issue is location-based, it is now present in multiple geographical regions. I am in the United States and my experience is same as what you describe - the plugin has been working well for several years, but now no longer works, and my API key is functioning correctly.

tmancill avatar Jun 23 '24 19:06 tmancill

United Kingdom as well. Was working fine until 2 weeks ago. I was away last week but now have same error in the log.

  • Version: 8.5.3 - 1718058293 @ Tue 11 Jun 2024 04:21:03 AM CEST
  • YouTube 0.212

Updated API key and Oauth2 credentials, reset DSL connection for new IP address but no difference.

zxpetrel avatar Jun 24 '24 09:06 zxpetrel

Same thing in Laos. Since a few days, it doesn't work anymore.

benj-laos avatar Jun 24 '24 11:06 benj-laos

Maybe its the same source as described here https://github.com/ytdl-org/youtube-dl/issues/32815

odin81 avatar Jun 24 '24 13:06 odin81

I am experiencing this same issue. Using the plugin from the U.S.

conbomus avatar Jun 24 '24 17:06 conbomus

I had same issue as people say but it seems solved for me after update plugin to 0.300 version. 💯

cpedrero avatar Jun 28 '24 23:06 cpedrero

Version 0.300 has fixed the issue for me!

https://forums.slimdevices.com/forum/user-forums/3rd-party-software/102458-announce-youtube-plugin-api-v3?p=1715957#post1715957

conbomus avatar Jun 28 '24 23:06 conbomus

Confirmed! Version 0.300 fixes the problem. Thanks @philippe44!

(Let's just hope it works all around the globe. 😉)

chroberino avatar Jun 29 '24 06:06 chroberino

For me it's also working with the new version 0.300 Greast work.

odin81 avatar Jun 30 '24 05:06 odin81

Updated to 0.300, working fine for me.

zxpetrel avatar Jul 01 '24 15:07 zxpetrel

Cf work for me after updating the plugin. Thank you so much @philippe44

killitmore avatar Jul 03 '24 02:07 killitmore

confirmed I had same issue from US for past few weeks, never had issues with this plugin before.

LMS Version: 8.4.0, Youtube plugin version: v0.212.

Upgraded to plugin version v0.300 just now, and plugin works again.

henrydoan avatar Jul 08 '24 01:07 henrydoan