philippe44 / LMS-YouTube

Play YouTube videos on LMS
38 stars 15 forks source link

youtube plugin does not work anymore #50

Open karel-de-macil opened 5 months ago

karel-de-macil commented 5 months ago

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 commented 5 months ago

[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

philippe44 commented 5 months ago

You probably exceeded your search quota. Wait till midnight PT

karel-de-macil commented 5 months ago

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

philippe44 commented 5 months ago

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

karel-de-macil commented 5 months ago

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.

Oneel77 commented 1 month ago

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

josepnv commented 1 month ago

[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

chroberino commented 1 month ago

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

odin81 commented 1 month ago

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.

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.

tmancill commented 1 month ago

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.

zxpetrel commented 1 month ago

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

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

benj-laos commented 1 month ago

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

odin81 commented 1 month ago

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

conbomus commented 1 month ago

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

cpedrero commented 1 month ago

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

conbomus commented 1 month ago

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

chroberino commented 1 month ago

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

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

odin81 commented 1 month ago

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

zxpetrel commented 1 month ago

Updated to 0.300, working fine for me.

killitmore commented 1 month ago

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

henrydoan commented 3 weeks ago

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.