mirror of
https://github.com/truewhile/MeBox.git
synced 2026-10-07 13:56:37 +08:00
fix: stabilize library paths and subscription matching
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user