discord-bot/lavalink/application.yml
loki5512344 4cbbb36159
fix(lavalink): drop spotify-tokener, lavasrc uses client credentials
- spotify URL resolution was broken (500 NPE): preferPartnerApi +
  customTokenEndpoint depended on dead spotify-tokener (-32000)
- remove tokener service from compose, remove dead SPOTIFY_* env from
  bot container (bot code never used them)
- spotify metadata now resolves via standard client credentials,
  playback is mirrored to SoundCloud via scsearch providers (ISRC/QUERY)
2026-08-30 00:29:13 +02:00

56 lines
1.1 KiB
YAML

server:
port: 2333
address: 0.0.0.0
plugins:
youtube:
enabled: true
clients:
- MUSIC
- ANDROID_VR
- WEB
- WEBEMBEDDED
remoteCipher:
url: "https://cipher.kikkia.dev/"
userAgent: "loki-bot"
lavasrc:
providers:
- "scsearch:%ISRC%"
- "scsearch:%QUERY%"
sources:
spotify: true
applemusic: true
deezer: false
yandexmusic: false
spotify:
clientId: "${SPOTIFY_CLIENT_ID}"
clientSecret: "${SPOTIFY_CLIENT_SECRET}"
countryCode: "RU"
playlistLoadLimit: 10
albumLoadLimit: 10
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