Skip to content

Commit

Permalink
Clients change
Browse files Browse the repository at this point in the history
  • Loading branch information
Rakambda committed Dec 3, 2024
1 parent f5812f0 commit 3cb3394
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
import com.sedmelluq.discord.lavaplayer.source.AudioSourceManagers;
import com.sedmelluq.discord.lavaplayer.track.AudioTrack;
import dev.lavalink.youtube.YoutubeAudioSourceManager;
import dev.lavalink.youtube.clients.AndroidTestsuiteWithThumbnail;
import dev.lavalink.youtube.clients.AndroidVrWithThumbnail;
import dev.lavalink.youtube.clients.MWebWithThumbnail;
import dev.lavalink.youtube.clients.MusicWithThumbnail;
import dev.lavalink.youtube.clients.TvHtml5EmbeddedWithThumbnail;
import dev.lavalink.youtube.clients.WebWithThumbnail;
Expand Down Expand Up @@ -43,8 +44,9 @@ public AudioService(@NotNull Guild guild, int volume, @Nullable String refreshTo
var youtubeAudioSourceManager = new YoutubeAudioSourceManager(true,
new MusicWithThumbnail(),
new WebWithThumbnail(),
new AndroidTestsuiteWithThumbnail(),
new TvHtml5EmbeddedWithThumbnail()
new AndroidVrWithThumbnail(),
new TvHtml5EmbeddedWithThumbnail(),
new MWebWithThumbnail()
);
if(Objects.nonNull(refreshToken)){
youtubeAudioSourceManager.useOauth2(refreshToken, true);
Expand Down

0 comments on commit 3cb3394

Please sign in to comment.