fix: improve hdr10+ detection

This commit is contained in:
Prayag Prajapati committed 2024-03-28 13:18:02 +05:30
1 parent db70e793c0
commit e03f12a999
2 files changed
+9 -3

No files matched your search

+3 -1
View File
@@ -263,7 +263,9 @@ const EpisodeTitlePage = () => {
(video) => video.VideoRangeType === "HDR10",
);
const checkHDR10Plus = videos.filter(
(video) => video.VideoRangeType === "HDR10+",
(video) =>
video.VideoRangeType === "HDR10+" ||
video.DisplayTitle?.toLocaleLowerCase().includes("hdr10+"),
);
const checkTrueHD = audios.filter((audio) =>
audio.DisplayTitle?.toLocaleLowerCase().includes("truehd"),