From 2d37d05726621be328312ad1a79f5f62b1882ba9 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 21 May 2023 20:22:33 +0200 Subject: allow YAML parsing of the spotify config --- player.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player.go') diff --git a/player.go b/player.go index a3232dd..f8f6272 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(wrms.Config.spotify) + b, err = NewSpotify(wrms.Config.Spotify) case "youtube": b = NewYoutubeBackend() case "dummy": -- cgit v1.2.3