Skip to content

Commit

Permalink
feat: update default youtube clients
Browse files Browse the repository at this point in the history
  • Loading branch information
Apehum committed Dec 5, 2024
1 parent 3c45993 commit 4de88bb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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() })
}

0 comments on commit 4de88bb

Please sign in to comment.