瀏覽代碼

fixed #261

Signed-off-by: 716 <[email protected]>
716 3 年之前
父節點
當前提交
c77944022a
共有 1 個文件被更改,包括 5 次插入4 次删除
  1. 5 4
      internal/pkg/settings/common_settings.go

+ 5 - 4
internal/pkg/settings/common_settings.go

@@ -10,9 +10,10 @@ type CommonSettings struct {
 
 func NewCommonSettings() *CommonSettings {
 	return &CommonSettings{
-		ScanInterval: "6h",
-		Threads:      1,
-		MoviePaths:   make([]string, 0),
-		SeriesPaths:  make([]string, 0),
+		ScanInterval:     "6h",
+		Threads:          1,
+		RunScanAtStartUp: true,
+		MoviePaths:       make([]string, 0),
+		SeriesPaths:      make([]string, 0),
 	}
 }