mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-05-17 06:09:29 +00:00
fix(audio): support 'xheaac' profile
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user