mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-11-21 20:00:49 +01:00
Lyrics synced by hand in the editor for a document (SAF) song came back unsynced after leaving the song and returning to it. The song played from a cached copy made before the edit: a tag change only retired network copies, so the next play reused the old copy and the player read the old lyrics from it. A tag change now retires the song's playback copies, as ReplayGain edits already did, and the queue item no longer names the old copy, so probes read the document until playback makes a fresh copy. The player's lyrics reload from the changed document itself, and only when its tags were read before. A copy an edit retires stays on disk until no deck holds it, so a song that plays, or is about to open its copy, keeps its file. Ported from PR #859 onto the current metadata listener; the editor save pinning in that PR is already here as PlayerLyricsEdit. Co-authored-by: re-code <re-code-dev@proton.me>