Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading track from YouTube #1790

Open
3 tasks done
Chukchun opened this issue Jan 2, 2025 · 1 comment
Open
3 tasks done

Error loading track from YouTube #1790

Chukchun opened this issue Jan 2, 2025 · 1 comment

Comments

@Chukchun
Copy link

Chukchun commented Jan 2, 2025

Bug Description

Error playing music from Youtube

Steps to Reproduce

  1. I live in Russia and use zapret
  2. Turn on any song from YouTube

Expected Result

Play songs

Debug Output

com.sedmelluq.discord.lavaplayer.tools.FriendlyException: This video cannot be loaded.
at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:45)
at dev.lavalink.youtube.YoutubeAudioSourceManager.loadItemOnce(YoutubeAudioSourceManager.java:198)
at dev.lavalink.youtube.YoutubeAudioSourceManager.loadItem(YoutubeAudioSourceManager.java:147)
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItemOnce(DefaultAudioPlayerManager.java:442)
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItem(DefaultAudioPlayerManager.java:423)
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.loadItemSync(DefaultAudioPlayerManager.java:154)
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.loadItemSync(DefaultAudioPlayerManager.java:167)
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$loadItemOrdered$1(DefaultAudioPlayerManager.java:196)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at com.sedmelluq.discord.lavaplayer.tools.OrderedExecutor$ChannelRunnable.executeQueue(OrderedExecutor.java:90)
at com.sedmelluq.discord.lavaplayer.tools.OrderedExecutor$ChannelRunnable.run(OrderedExecutor.java:79)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalStateException: Must find action functions from script: /s/player/03dbdfab/player_ias.vflset/ru_RU/base.js
at dev.lavalink.youtube.cipher.SignatureCipherManager.extractFromScript(SignatureCipherManager.java:235)
at dev.lavalink.youtube.cipher.SignatureCipherManager.getCipherScript(SignatureCipherManager.java:195)
at dev.lavalink.youtube.clients.skeleton.NonMusicClient.loadTrackInfoFromInnertube(NonMusicClient.java:74)
at dev.lavalink.youtube.clients.skeleton.NonMusicClient.loadVideo(NonMusicClient.java:318)
at dev.lavalink.youtube.YoutubeAudioSourceManager.lambda$routeFromVideoId$6(YoutubeAudioSourceManager.java:305)
at dev.lavalink.youtube.YoutubeAudioSourceManager.loadItemOnce(YoutubeAudioSourceManager.java:181)
... 12 common frames omitted

Additional Info

java -version
openjdk version "11.0.25" 2024-10-15
OpenJDK Runtime Environment Temurin-11.0.25+9 (build 11.0.25+9)
OpenJDK 64-Bit Server VM Temurin-11.0.25+9 (build 11.0.25+9, mixed mode)

Checklist

JMusicBot Version

0.4.3

@Chukchun Chukchun changed the title [Bug Report] Title Here Error loading track from YouTube Jan 2, 2025
@Doctorik
Copy link

Doctorik commented Jan 2, 2025

Check the issues page, did you even read the checklist?

As cheap fix, I use fork from SeVile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants