diff --git a/server/scanner/scanner.go b/server/scanner/scanner.go index 84ba6582..c966305e 100644 --- a/server/scanner/scanner.go +++ b/server/scanner/scanner.go @@ -336,7 +336,7 @@ func (s *Scanner) callbackPost(fullPath string, info *godirwalk.Dirent) error { // begin taking the current album off the stack and add it's // parent, cover that we found, etc. album := s.curAlbums.Pop() - if album.ParentID != 0 { + if album.Cover == s.curCover && album.ParentID != 0 { return nil } album.ParentID = s.curAlbums.PeekID()