clean up scanner func order

This commit is contained in:
sentriz
2019-06-11 15:02:46 +01:00
parent da21b5cae0
commit 827c463255
2 changed files with 26 additions and 27 deletions

View File

@@ -283,8 +283,7 @@ func (s *Scanner) handleTrack(it *item) error {
// set album if this is the first track in the folder
folder := s.curFolder()
if !folder.ReceivedPaths || folder.ReceivedTags {
// the folder hasn't been modified
// or already has it's tags
// the folder hasn't been modified or already has it's tags
return nil
}
folder.TagTitle = tags.Album()