diff --git a/core/src/main/kotlin/su/plo/voice/discs/PlasmoAudioPlayerManager.kt b/core/src/main/kotlin/su/plo/voice/discs/PlasmoAudioPlayerManager.kt index bc45a3e..15d6d5d 100644 --- a/core/src/main/kotlin/su/plo/voice/discs/PlasmoAudioPlayerManager.kt +++ b/core/src/main/kotlin/su/plo/voice/discs/PlasmoAudioPlayerManager.kt @@ -212,10 +212,11 @@ class PlasmoAudioPlayerManager : PluginKoinComponent { } ?.takeIf { it.isNotEmpty() } ?: listOf( - YoutubeClient.WEB, + YoutubeClient.MUSIC, YoutubeClient.ANDROID_VR, + YoutubeClient.WEB, YoutubeClient.WEBEMBEDDED, - YoutubeClient.MUSIC + YoutubeClient.TVHTML5EMBEDDED, ) plugin.slF4JLogger.info("YouTube clients: {}", youtubeClients) diff --git a/core/src/main/kotlin/su/plo/voice/discs/config/YoutubeClient.kt b/core/src/main/kotlin/su/plo/voice/discs/config/YoutubeClient.kt index 020d52c..9d72ee8 100644 --- a/core/src/main/kotlin/su/plo/voice/discs/config/YoutubeClient.kt +++ b/core/src/main/kotlin/su/plo/voice/discs/config/YoutubeClient.kt @@ -2,10 +2,9 @@ package su.plo.voice.discs.config import su.plo.voice.lavaplayer.libs.dev.lavalink.youtube.clients.Android import su.plo.voice.lavaplayer.libs.dev.lavalink.youtube.clients.AndroidMusic -import su.plo.voice.lavaplayer.libs.dev.lavalink.youtube.clients.AndroidTestsuite import su.plo.voice.lavaplayer.libs.dev.lavalink.youtube.clients.AndroidVr import su.plo.voice.lavaplayer.libs.dev.lavalink.youtube.clients.Ios -import su.plo.voice.lavaplayer.libs.dev.lavalink.youtube.clients.MediaConnect +import su.plo.voice.lavaplayer.libs.dev.lavalink.youtube.clients.MWeb import su.plo.voice.lavaplayer.libs.dev.lavalink.youtube.clients.Music import su.plo.voice.lavaplayer.libs.dev.lavalink.youtube.clients.TvHtml5Embedded import su.plo.voice.lavaplayer.libs.dev.lavalink.youtube.clients.Web @@ -18,12 +17,11 @@ enum class YoutubeClient( ) { MUSIC({ Music() }), WEB({ Web() }), + MWEB({ MWeb() }), WEBEMBEDDED({ WebEmbedded() }), ANDROID({ Android() }), ANDROID_VR({ AndroidVr() }), - ANDROID_TESTSUITE({ AndroidTestsuite() }), ANDROID_MUSIC({ AndroidMusic() }), - MEDIA_CONNECT({ MediaConnect() }), IOS({ Ios() }), TVHTML5EMBEDDED({ TvHtml5Embedded() }) } \ No newline at end of file