Subsonic: jukeboxControl endpoint wired to real mpv-backed controller

This commit is contained in:
2026-08-23 00:29:59 -05:00
parent 12eb4b9d01
commit 2e222bd193
8 changed files with 283 additions and 0 deletions
+2
View File
@@ -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),
}