jagrosh / jagrosh/MusicBot

[Bug Report] Lavalink no longer supports YouTube!

Open
#1,829 6 comments 2 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5.8k
Forks
2.8k
PR merge metrics
No merged PRs in 30d

Description

### Bug Description

### Console Log
```
**[ERROR]** [SignatureCipherManager]: Problematic YouTube player script /s/player/27b58bb9/player_ias.vflset/bg_BG/base.js detected (issue detected with script: no actions match). Dumped to C:\Users\Owner\AppData\Local\Temp\lavaplayer-yt-player-script6722362665611165081.js
**[WARN]** [DefaultAudioPlayerManager]: Suspicious exception for loading item https://www.youtube.com/watch?v=Ig5kvpoEH0I&t
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: This video cannot be loaded.
```

### After a few minutes of investigation I found this in the "pom.xml":

```

dev.arbjerg
lavaplayer
2.2.1


dev.lavalink.youtube
common
1.5.2

```
### And I found that.. The Lavalink dont support YT anymore, and the dependency is actually:
`https://github.com/lavalink-devs/youtube-source`
**last updated on: Jun 10.**

### Steps to Reproduce

1. Host the bot on localhost;
2. Use the "play" command with a YouTube song.

### Expected Result

The bot to play the specified song.

### Debug Output

Operating sys: Win10
Bot version: 0.4.3

### Additional Info

_No response_

### Checklist

- [x] I have looked for information about this [within the documentation](https://jmusicbot.com/)
- [x] I have searched for similar issues [on the issues page](https://github.com/jagrosh/MusicBot/issues?q=is%3Aissue)
- [x] I am using an official release from [the releases page](https://github.com/jagrosh/MusicBot/releases)

### JMusicBot Version

0.4.3

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with pom.xml and inspect the lavaplayer and YouTube-related dependencies against the console error for SignatureCipherManager. Trace the play command's YouTube loading path and verify the official release can play the reproduction URL on Windows after the dependency-related change.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.