From 5ee0fb4aa53e02a4b6c2ffb3d5bfa3a6153c9a06 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 21 May 2023 20:05:01 +0200 Subject: implement YAML config and admin connections --- player.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player.go') diff --git a/player.go b/player.go index 2be55c9..a3232dd 100644 --- a/player.go +++ b/player.go @@ -23,7 +23,7 @@ func NewPlayer(wrms *Wrms, backends []string) Player { for _, backend := range backends { switch backend { case "spotify": - b, err = NewSpotify() + b, err = NewSpotify(wrms.Config.spotify) case "youtube": b = NewYoutubeBackend() case "dummy": -- cgit v1.2.3