Skip to content

Commit

Permalink
Merge pull request #17 from alongotv/fix_youtube_player
Browse files Browse the repository at this point in the history
Fix detekt warning
  • Loading branch information
alongotv authored Jun 2, 2024
2 parents e4accfc + d3481d2 commit 3446ba6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class LavaPlayerAudioPlayerManagerModule {
@Singleton
fun provideAudioPlayerManager(): DefaultAudioPlayerManager = DefaultAudioPlayerManager().apply {
// to use YouTube, we tell LavaPlayer to use remote sources, like YouTube.
val youtube = YoutubeAudioSourceManager(/* allowSearch = */ true)
val youtube = YoutubeAudioSourceManager(true)
this.registerSourceManager(youtube)
AudioSourceManagers.registerRemoteSources(this)
}
Expand Down

0 comments on commit 3446ba6

Please sign in to comment.