Skip to content

Commit

Permalink
feat: log all folders while scanning
Browse files Browse the repository at this point in the history
  • Loading branch information
sentriz committed Nov 10, 2021
1 parent 96f693f commit b2388e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/scanner/scanner.go
Expand Up @@ -92,6 +92,7 @@ func (s *Scanner) scan(c *collected, isFull bool) error {
return nil
},
PostChildrenCallback: func(itemPath string, _ *godirwalk.Dirent) error {
log.Printf("processing folder `%s`", itemPath)
return s.callback(c, isFull, musicPath, itemPath)
},
Unsorted: !s.sorted,
Expand Down

0 comments on commit b2388e6

Please sign in to comment.