Skip to content

Commit

Permalink
Update LavalinkUtil.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
Walkyst committed Aug 9, 2022
1 parent 7eb9bf9 commit 7c321c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/lavalink/client/LavalinkUtil.kt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import com.sedmelluq.discord.lavaplayer.tools.io.MessageInput
import com.sedmelluq.discord.lavaplayer.tools.io.MessageOutput
import com.sedmelluq.discord.lavaplayer.track.AudioTrack
import lavalink.client.player.LavalinkPlayer
import lavalink.client.source.invidious.InvidiousSourceManager
//import lavalink.client.source.invidious.InvidiousSourceManager
import lavalink.client.source.spotify.SpotifySourceManager
import java.io.ByteArrayInputStream
import java.io.ByteArrayOutputStream
Expand All @@ -46,7 +46,7 @@ object LavalinkUtil {
init {
/* These are only to encode/decode messages */
playerManager.registerSourceManager(SpotifySourceManager(playerManager))
playerManager.registerSourceManager(InvidiousSourceManager.createDefault())
//playerManager.registerSourceManager(InvidiousSourceManager.createDefault())
playerManager.registerSourceManager(YoutubeAudioSourceManager())
playerManager.registerSourceManager(YandexMusicAudioSourceManager())
playerManager.registerSourceManager(BandcampAudioSourceManager())
Expand Down

0 comments on commit 7c321c7

Please sign in to comment.