lavalink-devs / lavaplayer

Lavaplayer fork maintained by Lavalink
Apache License 2.0
187 stars 51 forks source link

Lavaplayer Version: 2.1.2YouTube Source Version: youtube:v2:1.3.0 IP rotation set up #137

Closed lMolMol closed 4 months ago

lMolMol commented 4 months ago

I am trying to set up IP rotation for YoutubeAudioSourceManager but I'm encountering an issue where I cannot import AbstractRoutePlanner or any classes from the extensions folder.

Dependencies in build.gradle: dependencies { implementation 'dev.arbjerg:lavaplayer:2.1.2' implementation 'com.github.walkyst:lavaplayer-youtube-v2:1.3.0' implementation("net.dv8tion:JDA:5.0.0-beta.24")

implementation("ch.qos.logback:logback-classic:1.5.6")

}

repositories { mavenCentral() maven { url 'https://m2.dv8tion.net/releases' } maven { url 'https://jitpack.io' } maven { url = "https://maven.lavalink.dev/releases" } }

devoxin commented 4 months ago

com.github.walkyst:lavaplayer-youtube-v2:1.3.0 what is this...

lMolMol commented 4 months ago

com.github.walkyst:lavaplayer-youtube-v2:1.3.0 what is this...

I made a mistake when copying the dependencies it should be : implementation("dev.lavalink.youtube:v2:1.3.0") "it is the new youtube sorce

BTW when I use implementation 'com.github.devoxin:lavaplayer:1.9.1' I can import AbstractRoutePlanner whithout any isseus

devoxin commented 4 months ago

With dev.arbjerg.lavaplayer you might need to import the lavaplayer-ext-youtube-rotator module separately. https://maven.lavalink.dev/#/releases/dev/arbjerg/lavaplayer-ext-youtube-rotator

lMolMol commented 4 months ago

With dev.arbjerg.lavaplayer you might need to import the lavaplayer-ext-youtube-rotator module separately. https://maven.lavalink.dev/#/releases/dev/arbjerg/lavaplayer-ext-youtube-rotator

fixed the issue Thanks!