[BUG] A 24 bits 44.1khz album is falsely recognized as 16 bits on Tidal
Describe the bug
https://listen.tidal.com/album/340171505 is an album with 24 bits precisions. However, streamrip download it into 16 bits even if I specify --quality 3
Command Used
rip -vvv --quality 3 -ndb url https://listen.tidal.com/album/340171505
Debug Traceback
Config File
I didn't touch the config file (although I know its presence)
Operating System
Debian 12
streamrip version
2.0.4
Screenshots and recordings
No response
Additional context
Interesting that the debug log shows that tracks are in 16 bits, but on the website it clearly shows 24 bits.
My suggestions to track down the problem: try without quality in parameters but set it in the config, in [tidal] section (and download just 1 track for easier reading) try downloading some other random tracks you know are 24bit download using the lastest code
Then check if the Tidal API tells you about the quality of those tracks and if there's a difference between them (seems you can use your credentials to try the API directly in the browser)
As I checked the code, it sends correctly the quality specified, "HI_RES" but Tidal responds with "LOSSLESS". Or it's all Tidal can offer, or the quality name has changed, as in the metadata I see "HIRES_LOSSLESS". Don't know their API definitions so can't help with that.
I will investigate when I have time, so far I think this is related: https://github.com/yaronzz/Tidal-Media-Downloader/issues/1161
Also is there a guidance how to setup a dev env for streamrip, I wanna run streamrip from source code
I think on the wiki you have some info.
And in the readme you have an example of how to install from dev branch, if you need just the tool from the latest code.
If you need to run it with python, I used poetry for that as it reads the pyproject.toml.
Don't know if you're familiar with it, but it's basically poetry install, poetry run rip to run the tool locally.
Don't know what is MQA from that ticket. But maybe it's some limitation/misconfiguration of the Tidal API itself, of the API endpoints used in these tools...
I will investigate when I have time, so far I think this is related: yaronzz/Tidal-Media-Downloader#1161
Also is there a guidance how to setup a dev env for streamrip, I wanna run streamrip from source code
Was there ever any solution found for this as I've been encountering this issue recently as well. The Album is even saved as "24 Bit" but when I put the file in media info it's 16 bit.
@ThoughtzThruKeyz Unfortunately I still haven't have a time to investigate...
@ThoughtzThruKeyz Unfortunately I still haven't have a time to investigate...
Ah I see. Well, for me it seems to be very hit or miss, for example, Jay-Z's 4:44 album will download in 24-Bit, but something like Beyonce's Recent "Cowboy Carter" Album won't, when we all know damn well that any Beyonce album (if possible) is gonna be 24 Bit, especially on Tidal lol. So yeah, idk what's going on.