aboutsummaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-07-31 10:23:22 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-07-31 10:23:22 +0200
commit78dc143e4585a3ab5a4d173f50571b4842a4e347 (patch)
tree3c0526a95237b2d853590c3c001dde854fc6a28f /config.go
parentc162743200466b6d8d9e52d5666e1220c9cf67a2 (diff)
downloadWRMS-78dc143e4585a3ab5a4d173f50571b4842a4e347.tar.gz
WRMS-78dc143e4585a3ab5a4d173f50571b4842a4e347.zip
implement initial loading of spotify playlists
Playlist can now be added to the initial play queue with the -playlists command line flag or the playlists yaml key in the config file. To load a spotify playlist the link obtained when sharing the playlist from spotify is used.
Diffstat (limited to 'config.go')
-rw-r--r--config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.go b/config.go
index 32b94ca..b2df159 100644
--- a/config.go
+++ b/config.go
@@ -14,6 +14,7 @@ import (
type Config struct {
Port int `yaml:"port"`
Backends []string `yaml:"backends"`
+ Playlists []string `yaml:"playlists"`
LocalMusicDir string `yaml:"music-dir"`
UploadDir string `yaml:"upload-dir"`
LogLevel string `yaml:"loglevel"`