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
+3
View File
@@ -32,6 +32,9 @@ func (s *ScannerService) ScanLibraryRoot(ctx context.Context, libraryID, rootID
if root == nil {
return nil, errors.New("library root not found")
}
if mount, ok := ParseCloudLibraryMount(root.Path); ok {
return s.scanCloudLibraryRoot(ctx, lib, root, mount, true)
}
return s.scanLocalLibraryRoot(ctx, lib, root, true)
}