Remove Spotify and YouTube from Lavalink config

This commit is contained in:
Parker M. 2024-04-09 01:29:58 -05:00
parent b660f8e717
commit 389a8b1a0f
No known key found for this signature in database
GPG Key ID: 95CD2E0C7E329F2A

View File

@ -7,26 +7,17 @@ server: # REST and WS server
plugins: plugins:
lavasrc: lavasrc:
providers: # Custom providers for track loading. This is the default providers: # Custom providers for track loading. This is the default
- "ytsearch:\"%ISRC%\"" # Will be ignored if track does not have an ISRC. See https://en.wikipedia.org/wiki/International_Standard_Recording_Code
- "ytsearch:%QUERY%" # Will be used if track has no ISRC or no track could be found for the ISRC
- "spsearch:%QUERY%"
- "scsearch:\"%ISRC%\"" - "scsearch:\"%ISRC%\""
- "scsearch:%QUERY%" - "scsearch:%QUERY%"
- "dzisrc:\"%ISRC%\"" - "dzisrc:\"%ISRC%\""
- "dzsearch:%QUERY%" - "dzsearch:%QUERY%"
sources: sources:
spotify: true # Enable Spotify source spotify: false # Enable Spotify source
applemusic: false # Enable Apple Music source applemusic: false # Enable Apple Music source
deezer: true # Enable Deezer source deezer: true # Enable Deezer source
yandexmusic: false # Enable Yandex Music source yandexmusic: false # Enable Yandex Music source
flowerytts: false # Enable Flowery TTS source flowerytts: false # Enable Flowery TTS source
youtube: true # Enable YouTube search source (https://github.com/topi314/LavaSearch) youtube: false # Enable YouTube search source (https://github.com/topi314/LavaSearch)
spotify:
clientId: ""
clientSecret: ""
countryCode: "US" # the country code you want to use for filtering the artists top tracks. See https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
playlistLoadLimit: 6 # The number of pages at 100 tracks each
albumLoadLimit: 6 # The number of pages at 50 tracks each
deezer: deezer:
masterDecryptionKey: "" # the master key used for decrypting the deezer tracks. (yes this is not here you need to get it from somewhere else) masterDecryptionKey: "" # the master key used for decrypting the deezer tracks. (yes this is not here you need to get it from somewhere else)
@ -39,7 +30,7 @@ lavalink:
server: server:
password: "youshallnotpass" password: "youshallnotpass"
sources: sources:
youtube: true youtube: false
bandcamp: true bandcamp: true
soundcloud: true soundcloud: true
twitch: true twitch: true
@ -64,9 +55,8 @@ lavalink:
resamplingQuality: LOW # Quality of resampling operations. Valid values are LOW, MEDIUM and HIGH, where HIGH uses the most CPU. resamplingQuality: LOW # Quality of resampling operations. Valid values are LOW, MEDIUM and HIGH, where HIGH uses the most CPU.
trackStuckThresholdMs: 10000 # The threshold for how long a track can be stuck. A track is stuck if does not return any audio data. trackStuckThresholdMs: 10000 # The threshold for how long a track can be stuck. A track is stuck if does not return any audio data.
useSeekGhosting: true # 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 # 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.
youtubePlaylistLoadLimit: 6 # Number of pages at 100 each
playerUpdateInterval: 5 # How frequently to send player updates to clients, in seconds playerUpdateInterval: 5 # How frequently to send player updates to clients, in seconds
youtubeSearchEnabled: true youtubeSearchEnabled: false
soundcloudSearchEnabled: true soundcloudSearchEnabled: true
gc-warnings: true gc-warnings: true
ratelimit: ratelimit:
@ -75,9 +65,6 @@ lavalink:
strategy: "LoadBalance" # RotateOnBan | LoadBalance | NanoSwitch | RotatingNanoSwitch strategy: "LoadBalance" # RotateOnBan | LoadBalance | NanoSwitch | RotatingNanoSwitch
searchTriggersFail: true # Whether a search 429 should trigger marking the ip as failing 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 # retryLimit: -1 # -1 = use default lavaplayer value | 0 = infinity | >0 = retry will happen this numbers times
#youtubeConfig: # Required for avoiding all age restrictions by YouTube, some restricted videos still can be played without.
#email: "" # Email of Google account
#password: "" # Password of Google account
#httpConfig: # Useful for blocking bad-actors from ip-grabbing your music node and attacking it, this way only the http proxy will be attacked #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) #proxyHost: "localhost" # Hostname of the proxy, (ip or domain)
#proxyPort: 3128 # Proxy port, 3128 is the default for squidProxy #proxyPort: 3128 # Proxy port, 3128 is the default for squidProxy