From c99fc412d2786964f69b28e1abc3588dac5f9a73 Mon Sep 17 00:00:00 2001 From: Rafael Moraes <50295204+glomatico@users.noreply.github.com> Date: Thu, 26 Mar 2026 14:28:22 -0300 Subject: [PATCH] Update enums.py --- votify/interface/enums.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/votify/interface/enums.py b/votify/interface/enums.py index 53460ed..09a62d0 100644 --- a/votify/interface/enums.py +++ b/votify/interface/enums.py @@ -10,6 +10,7 @@ from .constants import ( MP4_AUDIO_QUALITIES, PREMIUM_AUDIO_QUALITIES, VORBIS_AUDIO_QUALITIES, + FLAC_AUDIO_QUALITIES, ) @@ -67,6 +68,10 @@ class AudioQuality(Enum): def ogg(self) -> bool: return self.value in VORBIS_AUDIO_QUALITIES + @property + def flac(self) -> bool: + return self.value in FLAC_AUDIO_QUALITIES + @property def file_format(self) -> str | None: if self.value in MP4_AUDIO_QUALITIES: