aboutsummaryrefslogtreecommitdiff
path: root/player.go
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-05-21 20:05:01 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-05-21 20:05:01 +0200
commit5ee0fb4aa53e02a4b6c2ffb3d5bfa3a6153c9a06 (patch)
tree5268e39568e6146521e4be9e0c1b70d3afca538c /player.go
parentead811a4ebd0074cc4d42da53daacbb358229fac (diff)
downloadWRMS-5ee0fb4aa53e02a4b6c2ffb3d5bfa3a6153c9a06.tar.gz
WRMS-5ee0fb4aa53e02a4b6c2ffb3d5bfa3a6153c9a06.zip
implement YAML config and admin connections
Diffstat (limited to 'player.go')
-rw-r--r--player.go2
1 files changed, 1 insertions, 1 deletions
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":