Change the default scanner to use new implementation

This commit is contained in:
Deluan committed 2020-07-19 21:39:06 -04:00
1 parent 482f46f3fd
commit d268075046
2 files changed
+5 -6

No files matched your search

+3 -4
View File
@@ -87,11 +87,10 @@ func (s *Scanner) loadFolders() {
}
func (s *Scanner) newScanner(f model.MediaFolder) FolderScanner {
if conf.Server.DevNewScanner {
log.Warn("Using *experimental* new scanner")
return NewTagScanner2(f.Path, s.ds)
if conf.Server.DevOldScanner {
return NewTagScanner(f.Path, s.ds)
}
return NewTagScanner(f.Path, s.ds)
return NewTagScanner2(f.Path, s.ds)
}
type Status int