mirror of
https://github.com/truewhile/MeBox.git
synced 2026-10-06 13:26:38 +08:00
fix: correct organize media type classification
This commit is contained in:
@@ -450,6 +450,9 @@ func mergeManualRequestIntoMatch(match *Match, req ManualScrapeRequest) *Match {
|
||||
if req.Title != "" {
|
||||
match.Title = req.Title
|
||||
}
|
||||
if mediaType := normalizeOrganizeMediaType(req.MediaType); mediaType != "" {
|
||||
match.MediaType = mediaType
|
||||
}
|
||||
if req.OriginalName != "" {
|
||||
match.OriginalName = req.OriginalName
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user