github rawnaldclark/Stash v0.9.4
Stash v0.9.4

latest releases: v0.9.107, v0.9.106, v0.9.105...
4 months ago

feat: 0.9.4 — decouple Home FLAC sub-text gating

Commit c3c6529 (v0.9.0) introduced an AND-coupling on the Home
sync card's FLAC sub-text:

val showFlac = flacTracks > 0 && flacStorageBytes > 0

Both values had to be > 0 for either sub-line to render. This was
intended as a defensive check against pathological state ("count > 0
but storage = 0"). It became the bug: any user whose DB has FLAC
rows but file_size_bytes still at 0 — common for older downloads
where the size column wasn't always populated — saw nothing on Home
even though Library Health reported 74 FLAC tracks correctly.

Decouple: each sub-line gates on its own value:

  • Tracks subValue: if (flacTracks > 0) ...
  • Storage subValue: if (flacStorageBytes > 0) ...

Restores the original v0.9.0 design before the c3c6529 regression.
Worst case now: storage shows but count doesn't (or vice versa) —
still informative; never a silent zero-state.

Closes the FLAC-stats-not-showing-on-Home regression that's been
chased across v0.9.1 → v0.9.3 without resolution. The earlier
patches (file_format gate fix, backfill fix, broadened DAO query)
all addressed real adjacent bugs but none could surface the data
while this coupling was suppressing it.

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com


Install

Download the .apk below and open it on your Android device. If you've got a previous Stash release installed, this upgrades in place — your library, sync history, and settings are preserved.

Requires: Android 8.0 (API 26) or newer.

See the README for first-time setup.

Full Changelog: v0.9.3...v0.9.4

Don't miss a new Stash release

NewReleases is sending notifications on new releases.