HDR Vivid

This commit is contained in:
CodeName393
2026-02-05 02:49:50 +09:00
committed by GitHub
parent a6494d9b54
commit 289c8a3b23

View File

@@ -132,7 +132,7 @@ class Episode(Title):
year=f" {self.year}" if self.year and config.series_year else "", year=f" {self.year}" if self.year and config.series_year else "",
season=self.season, season=self.season,
number=self.number, number=self.number,
name=self.name or "", name=self.name if self.name and config.insert_episodename_into_filenames else "",
).strip() ).strip()
if config.scene_naming: if config.scene_naming:
@@ -218,6 +218,8 @@ class Episode(Title):
for indicator in ["HDR10", "SMPTE ST 2086"] for indicator in ["HDR10", "SMPTE ST 2086"]
): ):
name += " HDR" name += " HDR"
elif "HDR Vivid" in hdr_format:
name += " HDR"
else: else:
name += f" {DYNAMIC_RANGE_MAP.get(hdr_format)} " name += f" {DYNAMIC_RANGE_MAP.get(hdr_format)} "
elif "HLG" in trc or "Hybrid Log-Gamma" in trc or "ARIB STD-B67" in trc or "arib-std-b67" in trc.lower(): elif "HLG" in trc or "Hybrid Log-Gamma" in trc or "ARIB STD-B67" in trc or "arib-std-b67" in trc.lower():