File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
LavalinkServer/src/main/java/lavalink/server/config Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import com.sedmelluq.discord.lavaplayer.source.soundcloud.SoundCloudAudioSourceM
1414import com.sedmelluq.discord.lavaplayer.source.twitch.TwitchStreamAudioSourceManager
1515import com.sedmelluq.discord.lavaplayer.source.vimeo.VimeoAudioSourceManager
1616import com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager
17- import com.sedmelluq.lava.extensions.youtuberotator.YoutubeIpRotatorSetup
17+ import com.sedmelluq.lava.extensions.youtuberotator.YoutubeIpRotator
1818import com.sedmelluq.lava.extensions.youtuberotator.planner.AbstractRoutePlanner
1919import com.sedmelluq.lava.extensions.youtuberotator.planner.BalancingIpRoutePlanner
2020import com.sedmelluq.lava.extensions.youtuberotator.planner.NanoIpRoutePlanner
@@ -48,7 +48,7 @@ class AudioPlayerConfiguration {
4848 if (sources.isYoutube) {
4949 val youtube = YoutubeAudioSourceManager (serverConfig.isYoutubeSearchEnabled)
5050 if (routePlanner != null ) {
51- YoutubeIpRotatorSetup (routePlanner).forSource(youtube). setup()
51+ YoutubeIpRotator . setup(youtube, routePlanner )
5252 }
5353 val playlistLoadLimit = serverConfig.youtubePlaylistLoadLimit
5454 if (playlistLoadLimit != null ) youtube.setPlaylistPageCount(playlistLoadLimit)
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ subprojects {
5353 ext {
5454 // @formatter:off
5555 lavaplayerVersion = ' 1.3.34'
56- lavaplayerIpRotatorVersion = ' 0.2.1 '
56+ lavaplayerIpRotatorVersion = ' 0.1.7 '
5757 magmaVersion = ' 0.12.3'
5858 jdaNasVersion = ' 1.1.0'
5959 jappVersion = ' 1.3.2-MINN'
You can’t perform that action at this time.
0 commit comments