Untitled

 avatar
unknown
plain_text
7 months ago
2.4 kB
205
No Index
server:
  port: 2333
  address: 0.0.0.0
  http2:
    enabled: false

plugins:
  - dependency: "dev.lavalink.plugins:lavalink-youtube-plugin:1.4.0"
    repository: "https://maven.lavalink.dev/releases"
  - dependency: "dev.lavalink.plugins:lavasrc-plugin:4.0.1"
    repository: "https://maven.lavalink.dev/releases"

lavalink:
  plugins:
    youtube:
      enabled: true
      oauth:
        enabled: true
        debug: true
        # After authorization, add your refresh token here
        # refreshToken: ""
      clientId: "removed for post"
      clientSecret: "removed for post"
      allowSearch: true
      allowDirectVideoIds: true
      allowDirectPlaylistIds: true
      clients:
        - MUSIC
        - ANDROID_VR
        - WEB
        - WEBEMBEDDED

  server:
    password: "youshallnotpass"
    sources:
      youtube: false  # Disabled because we're using the plugin
      bandcamp: true
      soundcloud: true
      twitch: true
      vimeo: true
      nico: true
      http: true
      local: false

    filters:
      volume: true
      equalizer: true
      karaoke: true
      timescale: true
      tremolo: true
      vibrato: true
      distortion: true
      rotation: true
      channelMix: true
      lowPass: true

    nonAllocatingFrameBuffer: false
    bufferDurationMs: 400
    frameBufferDurationMs: 5000
    opusEncodingQuality: 10
    resamplingQuality: LOW
    trackStuckThresholdMs: 10000
    useSeekGhosting: true
    youtubePlaylistLoadLimit: 6
    playerUpdateInterval: 5
    youtubeSearchEnabled: true
    soundcloudSearchEnabled: true
    gc-warnings: true

metrics:
  prometheus:
    enabled: false
    endpoint: /metrics

sentry:
  dsn: ""
  environment: ""

logging:
  file:
    path: ./logs/

  level:
    root: INFO
    lavalink: INFO

  request:
    enabled: true
    includeClientInfo: true
    includeHeaders: false
    includeQueryString: true
    includePayload: true
    maxPayloadLength: 10000

  logback:
    rollingpolicy:
      max-file-size: 1GB
      max-history: 30

plugin-config:
  lavasrc:
    providers:
      - "ytsearch:\"%ISRC%\""
      - "ytmsearch:\"%ISRC%\""
      - "scsearch:%QUERY%"
    sources:
      spotify: true
      youtube: true
      yamusic: false
    youtube:
      searchMaxResults: 10
Editor is loading...
Leave a Comment