feat: log all folders while scanning

This commit is contained in:
sentriz
2021-11-10 00:21:37 +00:00
parent 96f693f4e4
commit b2388e6d85

View File

@@ -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,