From f4122f1ae6009fb08f34dca9076c01c547abfaa9 Mon Sep 17 00:00:00 2001 From: rlaphoenix Date: Tue, 28 Feb 2023 06:02:36 +0000 Subject: [PATCH] Add mapping for Netflix profiles starting with `h264` e.g., the new -qc profiles. --- devine/core/tracks/video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devine/core/tracks/video.py b/devine/core/tracks/video.py index a80f7d3..6654306 100644 --- a/devine/core/tracks/video.py +++ b/devine/core/tracks/video.py @@ -67,7 +67,7 @@ class Video(Track): @staticmethod def from_netflix_profile(profile: str) -> Video.Codec: profile = profile.lower().strip() - if profile.startswith("playready-h264"): + if profile.startswith(("h264", "playready-h264")): return Video.Codec.AVC if profile.startswith("hevc"): return Video.Codec.HEVC