Subsonic: jukeboxControl endpoint wired to real mpv-backed controller
This commit is contained in:
@@ -21,6 +21,7 @@ type Config struct {
|
||||
MusicDirs []string
|
||||
FFmpegPath string
|
||||
FFprobePath string
|
||||
MPVPath string
|
||||
ScanInterval time.Duration
|
||||
SessionSecret string
|
||||
CookieSecure bool
|
||||
@@ -49,6 +50,7 @@ func Load() (Config, error) {
|
||||
DataDir: envOr("VIBESONIC_DATA_DIR", "/var/lib/vibesonic"),
|
||||
FFmpegPath: envOr("VIBESONIC_FFMPEG_PATH", "ffmpeg"),
|
||||
FFprobePath: envOr("VIBESONIC_FFPROBE_PATH", "ffprobe"),
|
||||
MPVPath: envOr("VIBESONIC_MPV_PATH", "mpv"),
|
||||
SessionSecret: os.Getenv("VIBESONIC_SESSION_SECRET"),
|
||||
CookieSecure: envBool("VIBESONIC_COOKIE_SECURE", true),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user