Skip to content

Commit

Permalink
fix metainfo
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxghp committed Jul 18, 2023
1 parent cf52e51 commit 09e986f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/core/meta/metabase.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,4 +452,5 @@ def to_dict(self):
dicts["type"] = self.type.value if self.type else None
dicts["season_episode"] = self.season_episode
dicts["edition"] = self.edition
dicts["name"] = self.name
return dicts
2 changes: 2 additions & 0 deletions app/schemas/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ class MetaInfo(BaseModel):
subtitle: Optional[str] = None
# 类型 电影、电视剧
type: Optional[str] = None
# 名称
name: Optional[str] = None
# 识别的中文名
cn_name: Optional[str] = None
# 识别的英文名
Expand Down

0 comments on commit 09e986f

Please sign in to comment.