🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Allow `0` value to disable ScanSchedule.
Deluanb44ef81c6f9a
diff --git a/conf/configuration.go b/conf/configuration.goindex a583b14c8..23c1be871 100644--- a/conf/configuration.go+++ b/conf/configuration.go@@ -154,7 +154,7 @@ func validateScanSchedule() error {log.Warn("Setting ScanSchedule", "schedule", Server.ScanSchedule)}}- if Server.ScanSchedule == "" {+ if Server.ScanSchedule == "0" || Server.ScanSchedule == "" {return nil}if _, err := time.ParseDuration(Server.ScanSchedule); err == nil {