-
Notifications
You must be signed in to change notification settings - Fork 0
/
lavalink.yml
99 lines (96 loc) · 2.76 KB
/
lavalink.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
server:
port: 2333
address: 0.0.0.0
lavalink:
server:
password: null # pragma: allowlist secret
sources:
youtube: false
bandcamp: true
soundcloud: true
twitch: true
vimeo: true
http: true
local: false
# The duration of the NAS buffer. Higher values fare better against
# longer GC pauses. Minimum of 40ms, lower values may introduce pauses.
bufferDurationMs: 1000
# How many milliseconds of audio to keep buffered
frameBufferDurationMs: 5000
# Opus encoder quality. Valid values range from 0 to 10, where 10 is best
# quality but is the most expensive on the CPU.
opusEncodingQuality: 10
# Quality of resampling operations. Valid values are LOW, MEDIUM and HIGH,
# where HIGH uses the most CPU.
resamplingQuality: MEDIUM
# The threshold for how long a track can be stuck. A track is stuck if does
# not return any audio data.
trackStuckThresholdMs: 10000
# Seek ghosting is the effect where whilst a seek is in progress, the audio
# buffer is read from until empty, or until seek is ready.
useSeekGhosting: true
# Number of pages at 100 each
youtubePlaylistLoadLimit: 10
# How frequently to send player updates to clients, in seconds
playerUpdateInterval: 5
youtubeSearchEnabled: true
soundcloudSearchEnabled: true
gc-warnings: true
plugins:
- dependency: "dev.lavalink.youtube:youtube-plugin:1.8.3"
snapshot: false
- dependency: "com.github.topi314.lavasrc:lavasrc-plugin:4.3.0"
snapshot: false
metrics:
prometheus:
enabled: false
endpoint: /metrics
logging:
file:
path: ./logs/
level:
root: INFO
lavalink: INFO
logback:
rollingpolicy:
max-file-size: 1GB
max-history: 30
plugins:
youtube:
enabled: true
allowSearch: true
# Whether just video IDs can match. If false, only complete URLs
# will be loaded.
allowDirectVideoIds: true
# Whether just playlist IDs can match. If false, only complete URLs
# will be loaded.
allowDirectPlaylistIds: true
# The clients to use for track loading.
clients:
- MUSIC
- ANDROID_TESTSUITE
- WEB
- TVHTML5EMBEDDED
oauth:
enabled: true
refreshToken: null
lavasrc:
providers:
- "dzisrc:%ISRC%"
- "dzsearch:%QUERY%"
- "ytsearch:\"%ISRC%\""
- "ytsearch:%QUERY%"
sources:
spotify: false
applemusic: false
deezer: true
yandexmusic: false
flowerytts: false
youtube: true
deezer:
# the master key used for decrypting the deezer tracks.
# (yes this is not here you need to get it from somewhere else)
masterDecryptionKey: null
formats: [ "MP3_128", "MP3_64" ]
youtube:
countryCode: "US"