fix to_dict

This commit is contained in:
yubanmeiqin9048
2023-08-07 21:01:47 +08:00
parent ceeb20ed2d
commit f7b96daa50
2 changed files with 10 additions and 1 deletions

View File

@ -549,6 +549,7 @@ class MediaInfo:
dicts["type"] = self.type.value if self.type else None
dicts["detail_link"] = self.detail_link
dicts["title_year"] = self.title_year
dicts["tmdb_info"]["media_type"] = self.type.value if self.type else None
return dicts
def clear(self):