[BUG]: Dowloading Flac but it is M4A
Which entry point?
Termux install
Tidekeeper version or commit
2026.6.2.0
Platform
Termux on Android 13
Steps to reproduce
Download an album
Full output / traceback
I followed all the steps in https://github.com/OpenNerdz/tidekeeper/issues/12, i have my "Save FLAC as .flac files" on true and ffmpeg installed, but the dowloaded files are always on m4a.
Thanks a lot
Anything else?
Thanks for the report! I checked the current code and ran the focused tests for the FLAC/M4A behavior — they’re passing on latest (17 passed).
The app should save .flac when Save FLAC as .flac files is enabled and ffmpeg can remux the FLAC-in-MP4 stream. If remuxing fails, it intentionally falls back to .m4a.
This is likely either an older installed version, settings not being picked up by the Termux entry point, or ffmpeg failing during remux. Could you try updating to the latest install and run ffmpeg -version in Termux? If it still happens, please share the download log around the track save/remux step.
Hey, thanks for your answer and your work. I run the latest version for ffmpeg and it still happens, you can find the log here :
Thanks for the extra log — I can see this line:
Quality: audio High, video P1080
At High quality, TIDAL usually provides AAC/M4A, not FLAC. The Save FLAC as .flac files option only applies when the downloaded stream is actually FLAC.
Please switch audio quality to HiFi/Lossless or Max/Hi-Res Lossless, then retry the album.
Thanks for your answer.
I have this message when I switch to Hifi/Lossless or Max/Lossless. I tried like 5 differents album and i always got the same message.
Could you try a different album which supports flac and ensure that it also has the same issue. It could be the album itself not supporting it fully.
I've tried with several different albums, even some that I have already downloaded in flac with the tidal-dl GUI but I got always the same message "Requested Hifi but Tidal returned High".
FYI, I have the max quality subscription on tidal.
Its very strange, ive tested myself on termux and I dont have any issues with it. Ill look into the code.
Thanks a lot.
Found the issue and pushed a fix to main 👍
Basically the app wasn't trying the backup download method when the first one returned the wrong quality. Should be sorted now — update to the latest version and give it another go!