aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParker <contact@pkrm.dev>2024-12-03 00:30:05 -0600
committerParker <contact@pkrm.dev>2024-12-03 00:30:05 -0600
commitda95becba77392ba7110cab8370c21303ab779fa (patch)
tree3bc7552bfd03a037af8c7d3294362e556daad677
parent7eb7f76bb8611e15d5bcaa18516cab200c339086 (diff)
Update application.yml
-rw-r--r--README.md2
-rw-r--r--application.yml (renamed from application.yml.example)76
2 files changed, 39 insertions, 39 deletions
diff --git a/README.md b/README.md
index 96ea960..090d54e 100644
--- a/README.md
+++ b/README.md
@@ -86,7 +86,7 @@ For instructions on setting up a Lavalink node on bare metal, look [here](https:
After setting up your Lavalink node, it is highly recommended to configure IPv6 rotation with at least a /64 or /48 block. IPv6 rotation helps to relieve issues from getting rate limited/blocked from YouTube and other sources. There are helpful guides for setting this up which are available on GitHub, however, [this](https://github.com/Nansess/tunnelbroker-guide) is the one that I have used .
-An example of my personal `application.yml` configuration file can be found [here](https://github.com/PacketParker/Guava/blob/main/application.yml.example).
+An example of my personal `application.yml` configuration file can be found [here](application.yml).
<br>
diff --git a/application.yml.example b/application.yml
index cabbdc1..68381f1 100644
--- a/application.yml.example
+++ b/application.yml
@@ -1,13 +1,27 @@
server:
port: 2333
- address: 127.0.0.1
+ address: localhost
http2:
enabled: false
plugins:
- # (https://github.com/topi314/LavaSrc)
+ youtube:
+ enabled: true
+ allowSearch: true
+ allowDirectVideoIds: true
+ allowDirectPlaylistIds: true
+ clients:
+ - MUSIC
+ - ANDROID_VR
+ - WEB
+ - WEBEMBEDDED
+ pot:
+ token: "" # Your token data here
+ visitorData: "" # Your visitor data here
lavasrc:
providers:
+ - "scsearch:\"%ISRC%\""
+ - "scsearch:%QUERY%"
- "dzisrc:\"%ISRC%\""
- "dzsearch:%QUERY%"
sources:
@@ -15,34 +29,20 @@ plugins:
applemusic: false
deezer: true
yandexmusic: false
- flowerytts: false
+ flowerytts: falsee
youtube: false
deezer:
- masterDecryptionKey: "" (this is not provided, you must obtain this yourself)
-
- youtube:
- enabled: true
- allowSearch: true
- allowDirectVideoIds: true
- allowDirectPlaylistIds: true
- clients:
- - WEB
- - ANDROID_VR
- - WEBEMBEDDED
- - MUSIC
- - ANDROID_TESTSUITE
- - ANDROID_MUSIC
+ masterDecryptionKey: "" # the master key used for decrypting the deezer tracks. (yes this is not here you need to get it from somewhere else)
lavalink:
plugins:
+ - dependency: "dev.lavalink.youtube:youtube-plugin:1.8.3"
+ snapshot: false
- dependency: "com.github.topi314.lavasrc:lavasrc-plugin:4.3.0"
- repository: "https://maven.lavalink.dev/releases"
snapshot: false
- - dependency: "dev.lavalink.youtube:youtube-plugin:1.8.3"
- snapshot: false # Set to true if you want to use a snapshot version.
server:
- password: ""
+ password: "youshallnotpass"
sources:
youtube: false
bandcamp: true
@@ -52,16 +52,16 @@ lavalink:
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
+ volume: false
+ equalizer: false
+ karaoke: false
+ timescale: false
+ tremolo: false
+ vibrato: false
+ distortion: false
+ rotation: false
+ channelMix: false
+ lowPass: false
bufferDurationMs: 400 # The duration of the NAS buffer. Higher values fare better against longer GC pauses. Duration <= 0 to disable JDA-NAS. Minimum of 40ms, lower values may introduce pauses.
frameBufferDurationMs: 8000 # How many milliseconds of audio to keep buffered
@@ -74,12 +74,12 @@ lavalink:
youtubeSearchEnabled: true
soundcloudSearchEnabled: true
gc-warnings: true
- ratelimit:
- ipBlocks: [""] # list of ip blocks
- excludedIps: [] # ips which should be explicit excluded from usage by lavalink
- strategy: "LoadBalance" # RotateOnBan | LoadBalance | NanoSwitch | RotatingNanoSwitch
- searchTriggersFail: true # Whether a search 429 should trigger marking the ip as failing
- # retryLimit: -1 # -1 = use default lavaplayer value | 0 = infinity | >0 = retry will happen this numbers times
+ #ratelimit:
+ # ipBlocks: [""] # list of ip blocks
+ # excludedIps: [] # ips which should be explicit excluded from usage by lavalink
+ # strategy: "LoadBalance" # RotateOnBan | LoadBalance | NanoSwitch | RotatingNanoSwitch
+ # searchTriggersFail: true # Whether a search 429 should trigger marking the ip as failing
+ # retryLimit: -1 # -1 = use default lavaplayer value | 0 = infinity | >0 = retry will happen this numbers times
#httpConfig: # Useful for blocking bad-actors from ip-grabbing your music node and attacking it, this way only the http proxy will be attacked
#proxyHost: "localhost" # Hostname of the proxy, (ip or domain)
#proxyPort: 3128 # Proxy port, 3128 is the default for squidProxy
@@ -117,4 +117,4 @@ logging:
logback:
rollingpolicy:
max-file-size: 1GB
- max-history: 30 \ No newline at end of file
+ max-history: 30