From 32255fbadddaf1f5c16345b99fcaf4677b436859 Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Sat, 9 Nov 2024 17:00:46 +0100 Subject: [PATCH] Fixing naming inconsistency. Fixes tamland/python-tidal#296 --- tidalapi/media.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tidalapi/media.py b/tidalapi/media.py index a063a34..e996923 100644 --- a/tidalapi/media.py +++ b/tidalapi/media.py @@ -86,7 +86,7 @@ def __str__(self) -> str: class MediaMetadataTags(str, Enum): - hires_lossless: str = "HIRES_LOSSLESS" + hi_res_lossless: str = "HIRES_LOSSLESS" lossless: str = "LOSSLESS" dolby_atmos: str = "DOLBY_ATMOS" @@ -442,7 +442,7 @@ def is_hi_res_lossless(self) -> bool: try: if ( self.media_metadata_tags - and MediaMetadataTags.hires_lossless in self.media_metadata_tags + and MediaMetadataTags.hi_res_lossless in self.media_metadata_tags ): return True except: