Skip to content

[Bug Report] Lavalink no longer supports YouTube! #1829

@mwolfyy

Description

@mwolfyy

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":

<dependency>
            <groupId>dev.arbjerg</groupId>
            <artifactId>lavaplayer</artifactId>
            <version>2.2.1</version>
        </dependency>
        <dependency>
            <groupId>dev.lavalink.youtube</groupId>
            <artifactId>common</artifactId>
            <version>1.5.2</version>
        </dependency>

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

JMusicBot Version

0.4.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions