mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-31 15:28:24 -04:00
Fix bit depth and sampling rate for Tidal
This commit is contained in:
parent
55294bc971
commit
8bfa7bc10d
1 changed files with 2 additions and 0 deletions
|
@ -171,6 +171,8 @@ class TrackMetadata:
|
|||
)
|
||||
self.streamable = resp.get("allowStreaming", False)
|
||||
self.quality = TIDAL_Q_MAP[resp["audioQuality"]]
|
||||
self.bit_depth = 24 if self.quality == 3 else 16
|
||||
self.sampling_rate = 44100
|
||||
|
||||
elif self.__source == "deezer":
|
||||
self.album = resp.get("title")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue