mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-11-21 20:00:49 +01:00
When a source had no modification time (some document providers), its embedded cover preview went to a new systemTemp/download_cover_preview_* folder and was deleted as soon as the 180-entry memory cache evicted it, even while the player or the saved session still pointed at it. Such previews now go to the existing embedded_cover_previews folder under one durable name (v2_<path hash>_0.jpg). They are still extracted again on each memory miss, since a disk copy cannot be validated without a timestamp, but evicting the memory entry never deletes a file: only the disk budget, a refresh that replaces the preview, invalidate and the manual clear do.