Skip to content

Commit

Permalink
add: lavalink youtube config to due to new youtube api for lavalink a…
Browse files Browse the repository at this point in the history
…nd fix broken dependency (#168)
  • Loading branch information
chiraitori authored Sep 12, 2024
1 parent 8ef39ae commit 42f87c2
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions docker/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,17 @@ lavalink:
repository: 'https://maven.lavalink.dev/releases'
- dependency: 'me.rohank05:lavalink-filter-plugin:0.0.4'
repository: 'https://jitpack.io'
- dependency: 'com.github.esmBot:lava-xm-plugin:0.2.2'
repository: 'https://jitpack.io'
- dependency: 'net.esmbot:lava-xm-plugin:0.2.4'
repository: 'https://repo.projectlounge.pw/maven/releases'
- dependency: 'me.duncte123:java-lyrics-plugin:1.6.0'
repository: 'https://maven.lavalink.dev/releases'
- dependency: "dev.lavalink.youtube:youtube-plugin:1.7.2"
repository: "https://maven.lavalink.dev/releases"

server:
password: 'youshallnotpass'
sources:
youtube: true
youtube: false
bandcamp: true
soundcloud: true
twitch: true
Expand Down Expand Up @@ -53,6 +55,18 @@ lavalink:
gc-warnings: true

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_TESTSUITE
- WEB
- TVHTML5EMBEDDED
lyrics:
countryCode: en #country code for resolving isrc tracks
dunctebot:
Expand Down

0 comments on commit 42f87c2

Please sign in to comment.