From 30ca108b805aafb81275ea0a4f57bce5d3ebc132 Mon Sep 17 00:00:00 2001 From: Rafael Moraes <50295204+glomatico@users.noreply.github.com> Date: Sun, 24 May 2026 12:59:38 -0300 Subject: [PATCH] Return optional fourcc for MusicVideoCodec --- gamdl/interface/enums.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gamdl/interface/enums.py b/gamdl/interface/enums.py index bf42b54..e49ce5f 100644 --- a/gamdl/interface/enums.py +++ b/gamdl/interface/enums.py @@ -80,9 +80,8 @@ class MusicVideoCodec(Enum): H265 = "h265" ASK = "ask" - @property - def fourcc(self) -> str: - return FOURCC_MAP[self.value] + def fourcc(self) -> str | None: + return FOURCC_MAP.get(self.value) class MusicVideoResolution(Enum):