From 5a29fe3d9d69de20c80b8a3bd6dfa90eb639dd48 Mon Sep 17 00:00:00 2001 From: aki Date: Thu, 24 Apr 2025 00:19:05 +0800 Subject: [PATCH] chore(lavalink): another application.yml fix cuz i'm sleepy --- application.yml | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/application.yml b/application.yml index 03a75e4..9829a0a 100644 --- a/application.yml +++ b/application.yml @@ -11,18 +11,7 @@ logging: lavalink: server: sources: - youtube: - enabled: true - allowSearch: true # Whether "ytsearch:" and "ytmsearch:" can be used. - allowDirectVideoIds: true # Whether just video IDs can match. If false, only complete URLs will be loaded. - allowDirectPlaylistIds: true # Whether just playlist IDs can match. If false, only complete URLs will be loaded. - # The clients to use for track loading. See below for a list of valid clients. - # Clients are queried in the order they are given (so the first client is queried first and so on...) - clients: - - MUSIC - - ANDROID_VR - - WEB - - WEBEMBEDDED + youtube: false bandcamp: true soundcloud: true twitch: true @@ -34,4 +23,18 @@ lavalink: frameBufferDurationMs: 5000 gc-warnings: true plugins: - - dependency: "dev.lavalink.youtube:youtube-plugin:1.12.0" # Use the new YouTube source plugin \ No newline at end of file + - dependency: "dev.lavalink.youtube:youtube-plugin:1.12.0" # Use the new YouTube source plugin + +plugins: + youtube: + enabled: true # Whether this source can be used. + allowSearch: true # Whether "ytsearch:" and "ytmsearch:" can be used. + allowDirectVideoIds: true # Whether just video IDs can match. If false, only complete URLs will be loaded. + allowDirectPlaylistIds: true # Whether just playlist IDs can match. If false, only complete URLs will be loaded. + # The clients to use for track loading. See below for a list of valid clients. + # Clients are queried in the order they are given (so the first client is queried first and so on...) + clients: + - MUSIC + - ANDROID_VR + - WEB + - WEBEMBEDDED \ No newline at end of file