fix: correct organize media type classification

This commit is contained in:
ShukeBta
2026-06-25 11:50:02 +08:00
parent 16c3ed239a
commit e16fecb3ec
15 changed files with 308 additions and 16 deletions
+2
View File
@@ -94,6 +94,7 @@ func (b *BangumiProvider) Search(ctx context.Context, query string) (*Match, err
}
m := &Match{
BangumiID: r.ID,
MediaType: "anime",
Title: title,
OriginalName: r.Name,
Overview: r.Summary,
@@ -139,6 +140,7 @@ func (b *BangumiProvider) GetSubject(ctx context.Context, bangumiID int) (*Match
}
m := &Match{
BangumiID: r.ID,
MediaType: "anime",
Title: title,
OriginalName: r.Name,
Overview: r.Summary,