From 274f11bb76a74ffc416fc2d1fc77d2a18981bd15 Mon Sep 17 00:00:00 2001 From: Essem Date: Tue, 7 Jun 2022 18:28:20 -0500 Subject: [PATCH] Add Spotify/Apple Music Lavalink plugin --- application.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/application.yml b/application.yml index 2d4867e..6955d56 100644 --- a/application.yml +++ b/application.yml @@ -28,6 +28,23 @@ lavalink: plugins: - dependency: "com.github.esmBot:lava-xm-plugin:v0.1.0" repository: "https://jitpack.io" + - dependency: "com.github.Topis-Lavalink-Plugins:Topis-Source-Managers-Plugin:v2.0.6" + repository: "https://jitpack.io" + +plugins: + topissourcemanagers: + providers: + - "ytsearch:\"%ISRC%\"" + - "ytsearch:%QUERY%" + sources: + spotify: false + applemusic: true + spotify: + clientId: "your client id" + clientSecret: "your client secret" + countryCode: "US" + applemusic: + countryCode: "US" metrics: prometheus: