Skip to content

v1.2.3

Choose a tag to compare

@beastyrabbit beastyrabbit released this 25 Sep 15:25
· 127 commits to main since this release
83862a1

Infinitune 1.2.3: crash leftovers of the silence trim are cleaned up

This release resolves the known issue listed for 1.2.2. A server crash during the silence trim could leave a hidden, full-size .trimmed-<timestamp>.mp3 copy of a song in its folder in the music library.

Song saving

  • Each save now removes both kinds of leftovers that a crash can strand in the song folder once they are older than 18 minutes: the save's private .audio-<uuid>.mp3 and the trim's .trimmed-<timestamp>.mp3. This also catches leftovers from earlier versions, which used the same trim file name.
  • Only these exact generated names are removed. Other files in the music library, including hidden ones, are left alone.

A test covers aged leftovers of both kinds, fresh files from a live save, and a similarly named file the save did not create. The test fails on 1.2.2.

Upgrade notes

  • No configuration or data changes. Leftovers are removed the next time a song is saved into the same folder. Folders that are never saved to again keep theirs.

Pull request: #57.