mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-04-05 11:47:50 +08:00
Fix: Prevent S00 display in movie subscription notifications
Co-authored-by: jxxghp <51039935+jxxghp@users.noreply.github.com>
This commit is contained in:
@@ -76,7 +76,7 @@ class TemplateContextBuilder:
|
||||
"""
|
||||
if not mediainfo:
|
||||
return
|
||||
season_fmt = f"S{mediainfo.season:02d}" if mediainfo.season is not None else None
|
||||
season_fmt = f"S{mediainfo.season:02d}" if mediainfo.season is not None and mediainfo.season > 0 else None
|
||||
base_info = {
|
||||
# 标题
|
||||
"title": self.__convert_invalid_characters(mediainfo.title),
|
||||
|
||||
Reference in New Issue
Block a user