Skip to content

Commit

Permalink
fix e5ec02e
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxghp committed Jul 1, 2024
1 parent 971b02a commit 6c8ef41
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/modules/filetransfer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,9 @@ def __convert_invalid_characters(filename: str):
# 季号
"season": meta.season_seq,
# 季年份根据season值获取
"season_year": mediainfo.season_years.get(int(meta.season_seq), None) if mediainfo.season_years else None,
"season_year": mediainfo.season_years.get(
int(meta.season_seq),
None) if (mediainfo.season_years and meta.season_seq) else None,
# 集号
"episode": meta.episode_seqs,
# 季集 SxxExx
Expand Down

0 comments on commit 6c8ef41

Please sign in to comment.