mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-19 15:23:36 +00:00
Change the default scanner to use new implementation
This commit is contained in:
1 parent
482f46f3fd
commit
d268075046
2 files changed
+5
-6
No files matched your search
+3
-4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user