Change the default scanner to use new implementation

This commit is contained in:
Deluan 2020-07-19 21:39:06 -04:00
parent 482f46f3fd
commit d268075046
2 changed files with 5 additions and 6 deletions

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