From 78dc143e4585a3ab5a4d173f50571b4842a4e347 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 31 Jul 2023 10:23:22 +0200 Subject: 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. --- config.go | 1 + 1 file changed, 1 insertion(+) (limited to 'config.go') 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"` -- cgit v1.2.3