The config file states that bit_depth in the conversion section is only applied if the bit depth is higher than the specified value. However, if I specify a bit depth of 24 and download a 16-bit album from qobuz, it incorrectly converts the files to 24-bit. sampling_rate is correctly applied however, in that if I specify a sampling rate of 48000, a file with a sampling rate of 44100 is not upsampled.
In other words, if my config settings are set to bit depth of 24 and sampling rate of 48000, downloading a 16/44100 track results in a 24/44100 file when I would expect it to remain 16/44100.
...
[qobuz]
# 1: 320kbps MP3, 2: 16/44.1, 3: 24/<=96, 4: 24/>=96
quality = 3
...
# Convert tracks to a codec after downloading them.
[conversion]
enabled = true
# FLAC, ALAC, OPUS, MP3, VORBIS, or AAC
codec = "ALAC"
# In Hz. Tracks are downsampled if their sampling rate is greater than this.
# Value of 48000 is recommended to maximize quality and minimize space
sampling_rate = 48000
# Only 16 and 24 are available. It is only applied when the bit depth is higher
# than this value.
bit_depth = 24
# Only applicable for lossy codecs
lossy_bitrate = 320
...
Describe the bug
The config file states that
bit_depth
in the conversion section is only applied if the bit depth is higher than the specified value. However, if I specify a bit depth of 24 and download a 16-bit album from qobuz, it incorrectly converts the files to 24-bit.sampling_rate
is correctly applied however, in that if I specify a sampling rate of 48000, a file with a sampling rate of 44100 is not upsampled.In other words, if my config settings are set to bit depth of 24 and sampling rate of 48000, downloading a 16/44100 track results in a 24/44100 file when I would expect it to remain 16/44100.
Command Used
Debug Traceback
Config File
Operating System
macOS
streamrip version
2.0.5
Screenshots and recordings
No response
Additional context
No response