Skip to content

Commit

Permalink
Fixing naming inconsistency. Fixes #296
Browse files Browse the repository at this point in the history
  • Loading branch information
exislow committed Nov 9, 2024
1 parent 3dc8d5c commit 32255fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tidalapi/media.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 32255fb

Please sign in to comment.