mirror of
https://github.com/truewhile/MeBox.git
synced 2026-10-10 23:36:37 +08:00
fix: stabilize library paths and subscription matching
This commit is contained in:
@@ -83,8 +83,10 @@ func (o *OrganizerService) buildOrganizeMediaDestination(ctx context.Context, re
|
||||
category = o.classifyMedia(ctx, m, mediaType)
|
||||
}
|
||||
if impliedType, normalizedCategory := o.mediaTypeForDirectoryCategory(category); impliedType != "" {
|
||||
mediaType = impliedType
|
||||
category = normalizedCategory
|
||||
if normalizeOrganizeMediaType(req.mediaType) == "" {
|
||||
mediaType = impliedType
|
||||
}
|
||||
}
|
||||
root := o.organizeRoot(req.baseRoot, mediaType, category)
|
||||
targetLibraryID := ""
|
||||
|
||||
Reference in New Issue
Block a user