fix(audio): support 'xheaac' profile

This commit is contained in:
Andy
2026-03-20 10:34:49 -06:00
parent a21c32df5d
commit 561a609040

View File

@@ -57,7 +57,7 @@ class Audio(Track):
@staticmethod @staticmethod
def from_netflix_profile(profile: str) -> Audio.Codec: def from_netflix_profile(profile: str) -> Audio.Codec:
profile = profile.lower().strip() profile = profile.lower().strip()
if profile.startswith("heaac"): if profile.startswith("heaac") or profile.startswith("xheaac"):
return Audio.Codec.AAC return Audio.Codec.AAC
if profile.startswith("dd-"): if profile.startswith("dd-"):
return Audio.Codec.AC3 return Audio.Codec.AC3