mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-04 01:08:54 +01:00
Change the default scanner to use new implementation
This commit is contained in:
parent
482f46f3fd
commit
d268075046
2 changed files with 5 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue