mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-07-26 14:01:03 +02:00
fb3fad279c
The finalizer's catch-all cleanup deleted the finished output for any exception, including ones thrown after the file was already published to SAF. A failed history insert (SQLITE_BUSY against the concurrently open Flutter connection, disk full, or a schema-version mismatch that would throw on every download), an external .lrc write error, or a quality-metadata refresh failure destroyed a complete, valid track and forced a full re-download. - Track outputPublished and skip cleanupFailedFinalizationOutput once the file reached its final destination - Make the history insert, external LRC write, and quality metadata refresh non-fatal (log + history_written:false instead of failing the item)