SpotiFLAC-Mobile/lib
zarzet 81547013f9 fix: gate M4A to FLAC conversion on a codec probe in every branch
The SAF and local post-download branches used to rush an ffmpeg 'M4A to FLAC' remux whenever the output extension was .flac, which silently upscaled AAC or EAC3 streams into a lossless container. Each branch now mirrors the native worker by probing the primary audio codec before converting: lossless sources (and true FLAC-in-MP4 files) stay in their native container with the right extension, while genuine ALAC/WAV payloads still get remuxed.

Add an outputExt field to DownloadRequestPayload so the Go backend always knows the user-requested container, and use it together with _shouldRequestContainerConversion to pick the right behaviour for shouldPreserveNativeM4a and the Kotlin finalizer. Decryption descriptors no longer force M4A preservation on their own; the codec probe already makes that call correctly.
2026-05-11 00:52:02 +07:00
..
constants fix: stabilize library search and bump version 2026-05-08 00:40:25 +07:00
l10n feat: allow re-running audio quality analysis after cached result 2026-05-10 21:27:54 +07:00
models chore: housekeeping cleanup and code deduplication 2026-05-08 21:37:56 +07:00
providers fix: gate M4A to FLAC conversion on a codec probe in every branch 2026-05-11 00:52:02 +07:00
screens feat: persist codec format and bitrate in download history 2026-05-10 23:18:32 +07:00
services fix: gate M4A to FLAC conversion on a codec probe in every branch 2026-05-11 00:52:02 +07:00
theme feat: retire built-in download providers, add isolated extension runtimes, Google Sans Flex font, and monochrome icon support 2026-05-01 02:44:32 +07:00
utils chore: housekeeping cleanup and code deduplication 2026-05-08 21:37:56 +07:00
widgets feat: allow re-running audio quality analysis after cached result 2026-05-10 21:27:54 +07:00
app.dart fix provider fallbacks and public branding 2026-05-04 00:51:52 +07:00
main.dart feat: add resolve API with SongLink fallback, fix multi-artist tags (#288), and cleanup 2026-04-13 23:32:14 +07:00