Discover artwork + Library icon + notification tap routing #73
Reference in New Issue
Block a user
Delete Branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
artwork.musicbrainz.org,coverartarchive.org) into Minstrel-host 404s, which Coil fell back from silently. AddedPLACEHOLDER_HOSTconstant and short-circuited the rewrite for non-placeholder hosts. Three new unit tests cover the placeholder rewrite, external pass-through, and unparseable-baseUrl fallthrough.Icons.Outlined.LibraryMusicis the canonical music-library symbol; outlined variant matches Lucide's stroke style closely enough to blend. Addedcompose-material-icons-extended(version pinned by compose-bom).MinstrelPlayerServicenow builds a PendingIntent with anEXTRA_OPEN_NOW_PLAYINGflag and hands it toMediaSession.Builder.setSessionActivity. MainActivity reads the extra in onCreate AND onNewIntent (covers cold + warm starts), flips a StateFlow, then strips the extra. App composable runs aLaunchedEffectto navigate once the NavHost is mounted;launchSingleTopavoids stacking. Intentional improvement over Flutter audio_service default (which just opens the launcher activity).Follow-up worth noting:
AuthCookieInterceptorstill attaches the Minstrel session cookie to external requests. External hosts ignore unrecognized cookies, so it's not breaking anything, but a parallel scope-to-placeholder cleanup would be tidy.Test plan
Scope BaseUrlInterceptor to placeholder host (fixes Discover artwork)to Discover artwork + Library icon + notification tap routing