Skip to content

Commit

Permalink
Removed HIRES (HI_RES / MQA) legacy. Fixes #297
Browse files Browse the repository at this point in the history
  • Loading branch information
exislow committed Nov 9, 2024
1 parent 32255fb commit cfde13b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/test_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def test_video_quality_defaults_to_best(session):


@pytest.mark.parametrize(
"quality", ["LOW", "HIGH", "LOSSLESS", "HI_RES", "HI_RES_LOSSLESS"]
"quality", ["LOW", "HIGH", "LOSSLESS", "HI_RES_LOSSLESS"]
)
def test_manually_set_audio_quality_is_preserved(session, quality):
session.audio_quality = quality
Expand Down
3 changes: 1 addition & 2 deletions tidalapi/media.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ class Quality(str, Enum):
low_96k: str = "LOW"
low_320k: str = "HIGH"
high_lossless: str = "LOSSLESS"
hi_res: str = "HI_RES"
hi_res_lossless: str = "HI_RES_LOSSLESS"
default: str = low_320k

Expand Down Expand Up @@ -480,7 +479,7 @@ class Stream:
audio_mode: str = AudioMode.stereo # STEREO, DOLBY_ATMOS
audio_quality: str = (
Quality.low_320k
) # LOW, HIGH, LOSSLESS, HI_RES, HI_RES_LOSSLESS
) # LOW, HIGH, LOSSLESS, HI_RES_LOSSLESS
manifest_mime_type: str = ""
manifest_hash: str = ""
manifest: str = ""
Expand Down

0 comments on commit cfde13b

Please sign in to comment.