fix: stabilize library paths and subscription matching

This commit is contained in:
ShukeBta
2026-06-28 12:15:10 +08:00
parent e4abb03ca5
commit a97dc35790
102 changed files with 4582 additions and 1519 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ type localScanMediaInput struct {
}
func (s *ScannerService) buildLocalScanMedia(in localScanMediaInput) *model.Media {
title, year := CleanQuery(in.path)
title, year := CleanQueryWithRecognition(context.Background(), s.repo, in.path)
if title == "" {
title = strings.TrimSuffix(filepath.Base(in.path), in.ext)
}