Skip to content

Stash v0.9.29

Choose a tag to compare

@rawnaldclark rawnaldclark released this 17 May 01:56
· 1117 commits to master since this release

Stash v0.9.29 — fix Library tab crash on albums with empty artist

Bug fix

  • Library tab crashed (NPE) for users with at least one album where every
    track had a missing/empty artist tag. The getAllAlbums query's CASE
    expression could return NULL when both the album_artist column was empty
    AND the fallback subquery (most-frequent non-empty artist in the album)
    matched no rows. NULL bound to a non-nullable Kotlin field crashed Room
    on cursor read — and since this is the query backing the Albums tab,
    the whole Library section was unreachable.

    Fix: wrap the CASE in COALESCE(..., 'Unknown Artist') so the column is
    guaranteed non-NULL. Albums whose tracks all have missing artist tags
    now display as "Unknown Artist" instead of crashing the app.

Thanks to @ace-ly91 in issue #59 for catching this — and to the new
in-app crash reporter (v0.9.28) for capturing the exact stack trace
that let me find the bug in minutes instead of guessing for days.

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.28...v0.9.29