This commit is contained in:
CodeName393
2026-02-26 02:05:40 +09:00
committed by GitHub
parent a4e1c6bb75
commit bde1945f67

View File

@@ -107,7 +107,6 @@ class Episode(Title):
return "" return ""
width = getattr(track, "width", track.height) width = getattr(track, "width", track.height)
resolution = min(width, track.height) resolution = min(width, track.height)
try: try:
dar = getattr(track, "other_display_aspect_ratio", None) or [] dar = getattr(track, "other_display_aspect_ratio", None) or []
if dar and dar[0]: if dar and dar[0]:
@@ -156,6 +155,9 @@ class Episode(Title):
name=self.name if self.name and config.insert_episodename_into_filenames else "", name=self.name if self.name and config.insert_episodename_into_filenames else "",
).strip() ).strip()
if getattr(config, "repack", False):
name += " REPACK"
if primary_video_track: if primary_video_track:
resolution_token = _get_resolution_token(primary_video_track) resolution_token = _get_resolution_token(primary_video_track)
if resolution_token: if resolution_token: