mirror of
https://github.com/truewhile/MeBox.git
synced 2026-10-10 23:36:37 +08:00
fix(organize): repair classification and forced rescrape
This commit is contained in:
@@ -187,9 +187,7 @@ func (o *OrganizerService) applyOrganizeSourceCategory(
|
||||
if impliedType, normalizedCategory := o.mediaTypeForDirectoryCategory(layout.Category); impliedType != "" {
|
||||
layout.Category = normalizedCategory
|
||||
if forcedType == "" {
|
||||
if layout.MediaType == "" || layout.MediaType == "tv" || layout.MediaType == "anime" || pathLayout.Category != layout.Category {
|
||||
layout.MediaType = impliedType
|
||||
}
|
||||
layout.MediaType = reconcileOrganizeCategoryMediaType(layout.MediaType, impliedType)
|
||||
}
|
||||
}
|
||||
return layout
|
||||
|
||||
Reference in New Issue
Block a user