From 4cf00a106e96525a3dba49d3eaa2400fac07683b Mon Sep 17 00:00:00 2001 From: nathom Date: Thu, 8 Apr 2021 12:23:32 -0700 Subject: [PATCH] Set Tidal sampling rate to 48000 for MQA --- streamrip/downloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streamrip/downloader.py b/streamrip/downloader.py index 229b987..6d9b173 100644 --- a/streamrip/downloader.py +++ b/streamrip/downloader.py @@ -782,7 +782,7 @@ class Album(Tracklist): "streamable": resp.get("allowStreaming"), "quality": TIDAL_Q_MAP[resp.get("audioQuality")], "bit_depth": 24 if resp.get("audioQuality") == "HI_RES" else 16, - "sampling_rate": 44100, # always 44.1 kHz + "sampling_rate": 48000 if resp.get("audioQuality") == 'HI_RES' else 41000, "tracktotal": resp.get("numberOfTracks"), "disctotal": resp.get("numberOfVolumes"), }