discord-bot/lavalink/application.yml
loki5512344 b5b6e99946
Some checks are pending
CI / build (push) Waiting to run
Docker / build (push) Waiting to run
fix(lavalink): add TV client, the only OAuth-compatible youtube-plugin client
2026-09-11 12:10:07 +02:00

64 lines
1.5 KiB
YAML

server:
port: 2333
address: 0.0.0.0
plugins:
youtube:
enabled: true
clients:
- TV
- MUSIC
- ANDROID_VR
- WEB
- WEBEMBEDDED
remoteCipher:
url: "https://cipher.kikkia.dev/"
userAgent: "loki-bot"
oauth:
enabled: true
refreshToken: "${YOUTUBE_OAUTH_REFRESH_TOKEN}"
lavasrc:
providers:
- "scsearch:%ISRC%"
- "scsearch:%QUERY%"
sources:
spotify: true
applemusic: true
deezer: false
yandexmusic: false
spotify:
clientId: "${SPOTIFY_CLIENT_ID}"
clientSecret: "${SPOTIFY_CLIENT_SECRET}"
spDc: "AQDVrLVOyLLT3ZuiLoY32uH8HotvY_Lw67ay1lejf55S7O3f_O9IefxZ8XDf3pYklpwl5Klei2NeYUPRZ-cbkpQg5S3RyMjuiTmBxdAuMlugA61_wAy-bXD979aYDK44Bid6UKxLHjh0kFQZ_tX71DAUGezA2XjeLcRi_-TLcKHWKZVKPhGniUOZZEhg2Ij9t6valbqSbDOQ1t0dtQ"
countryCode: "RU"
playlistLoadLimit: 10
albumLoadLimit: 10
preferPartnerApi: true
customTokenEndpoint: "http://spotify-tokener:8080/api/token"
applemusic:
countryCode: "RU"
mediaType: "music"
playlistLoadLimit: 6
lavalink:
server:
password: "Hch4HiVCxkKs9JPiSnrt4Q"
sources:
youtube: false
soundcloud: true
bandcamp: true
twitch: true
http: true
local: false
bufferDurationMs: 400
youtubePlaylistLoadLimit: 6
playerUpdateInterval: 5
youtubeSearchEnabled: false
soundcloudSearchEnabled: true
gc-warnings: true
logging:
level:
root: INFO
lavalink: INFO
com.github.topi314.lavasrc: INFO