chore(lavalink): Add YouTube plugin in application.yml to fix deprecation error
This commit is contained in:
parent
537a8c6709
commit
42de01e004
@ -1,7 +1,7 @@
|
|||||||
server:
|
server:
|
||||||
port: 2333
|
port: 2333
|
||||||
address: 0.0.0.0
|
address: 0.0.0.0
|
||||||
password: ${LAVALINK_SERVER_PASSWORD:testing-lavalink-dont-touch} # Changed to use LAVALINK_SERVER_PASSWORD env var
|
password: ${LAVALINK_PASSWORD:changeme} # Uses env var or defaults to 'changeme'
|
||||||
|
|
||||||
logging:
|
logging:
|
||||||
level:
|
level:
|
||||||
@ -11,7 +11,18 @@ logging:
|
|||||||
lavalink:
|
lavalink:
|
||||||
server:
|
server:
|
||||||
sources:
|
sources:
|
||||||
youtube: true
|
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
|
||||||
bandcamp: true
|
bandcamp: true
|
||||||
soundcloud: true
|
soundcloud: true
|
||||||
twitch: true
|
twitch: true
|
||||||
@ -22,10 +33,5 @@ lavalink:
|
|||||||
bufferDurationMs: 400
|
bufferDurationMs: 400
|
||||||
frameBufferDurationMs: 5000
|
frameBufferDurationMs: 5000
|
||||||
gc-warnings: true
|
gc-warnings: true
|
||||||
plugins: []
|
plugins:
|
||||||
|
- dependency: "dev.lavalink.youtube:youtube-plugin:1.12.0" # Use the new YouTube source plugin
|
||||||
# Add specific IPs allowed to connect (your bot container)
|
|
||||||
# Set as 0.0.0.0/0 to allow connections from anywhere (not recommended for production)
|
|
||||||
# This is important for Docker environments
|
|
||||||
server.ip-rotation: false
|
|
||||||
server.ip-blocks: ["10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "127.0.0.1", "0.0.0.0/0"]
|
|
||||||
Loading…
x
Reference in New Issue
Block a user