The metadata cover prewarm now also runs for local paths and file URIs,
so a stale path reported an image error that the app logs as an uncaught
error and stores as the crash snapshot. Swallow local prewarm failures
as the backdrop prewarm already does; http failures still report.
Both prewarm helpers now build the provider once and return when the
form has no image, so a stateful network:// lookup cannot disagree
between two calls. Document that the network:// hook must read only an
in-memory index, since it runs during build.
Cover strings reach the UI as absolute paths, file:// URIs (MediaItem
artUri values saved into listening statistics), http(s) URLs and
content:// URIs, and each primitive parsed them itself.
LocalOrNetworkCoverImage sent every non-http string to File(url), so
file:// covers failed silently; precacheCoverImage skipped local files;
CoverPalette keyed a file:// URI and its path separately and never
decoded the URI.
coverFilePath, coverImageSource and coverImageProvider in
cached_cover_image.dart now map a stored string to its file, its decode
source and its image, keyed like the widgets' own decode. PlayerArtwork,
LocalOrNetworkCoverImage, both precache helpers, CoverPalette,
PlayerArtworkTheme and LocalLibraryArtworkBuilder go through them, so
the Mornye palette callers pass artUri as it is. network:// covers have
one hook in coverFilePath for the cover store. content:// and other
forms still show the placeholder.
A microphone button in the empty search field listens to the room and
names the song, on phones and desktop.
- The audio fingerprint and the Shazam request run in Rust behind a new
recognize_song data job, so every platform shares one path.
- Listening sends the audio so far at 4, 8 and 12 seconds and stops at
the first match; quiet or short clips are reported instead of sent.
- A match can be played from the library (by ISRC, then title and
artist), searched in Mornye, or opened in Shazam. Recent matches are
kept in a local history.
- Android asks for the microphone only when listening starts; iOS and
macOS gain the microphone usage description and entitlement. The Linux
package recommends pulseaudio-utils for capture.
Playlists had no way to change their order, and creating one always
started empty.
- Edit order opens a page where tracks move by their handle or a long
press. The order is the added_at order, so a reorder restamps those
values instead of adding a column, and Mornye Link carries it.
- Create playlist now offers an empty playlist, every track of one
Library folder, or an imported M3U, M3U8 or CSV file.
- Imports match each entry to a local file by the tail of its path,
then by ISRC or title and artist, and report how many matched.
Unmatched entries keep the file's metadata so they can be downloaded.
The player and mini player open a Devices sheet with the desktop's
player, queue and downloads and handoff in both directions. Track
options, album and playlist headers and shared links offer Download or
Open on the desktop; desktop Library albums and tracks offer Save to
this phone. Strings in English and Indonesian.
The premultiplied buffer goes to the background job only when the host
quantizer needs it. The cache comment now covers failed readbacks, and the
theme README lists CoverSourceColorBuilder.
Palette extraction now reads both pixel buffers from one decode and scores
the seed and the source colour in a single background job, instead of a seed
isolate plus a pixel loop on the UI isolate. resolveSourceColor gives
surfaces that only shade from the cover the same colour without quantizing
or building a colour scheme.
IconData overrides ==, so the switch tested up to 187 patterns in turn on
every icon build. A map keeps the first result per icon, which the switch
computes the same way each time.
The button group and playback transport duplicated the press state and
squish spring, and two icon buttons repeated the disabled color pair. Also
drop three Material Symbols entries no icon in the app uses.
MornyeTheme had no value equality and glass and settings variants were rebuilt
on every call, so any rebuild handed an unequal theme down and restarted the
app theme animation or notified whole pages. Artwork chrome variants are now
derived from the cached base theme instead of a full theme build.
Lyrics size and font names live in ThemeSettings but do not affect ThemeData,
so dragging the lyrics size slider rebuilt MaterialApp and its themes on every
tick. The equalizer is now kept alive with a listener instead of a watch, so
toggling it no longer rebuilds the app.
The phone album header already colors itself from its cover, but the
Material desktop header kept the app scheme, so album, playlist, folder
and artist pages on desktop lost the artwork accent the design rules ask
for.
The desktop detail header now scopes the cover scheme (the artist image
on artist pages) to the artwork and details beside it through
PlayerArtworkTheme, the helper the player surfaces already use, and
publishes it as the HeaderPalette. A cached cover shows its scheme from
the first frame, a new one moves the whole scheme at once on the effects
spring (or in one step under reduced motion), and black and white covers
get the neutral scheme. The toolbar, track rows and the rest of the page
keep the app scheme. The subtitle and artist actions are now built under
that scope so they read the header colors. Mornye is unchanged.
Replace the bundled Google Sans Flex (v4.004, weight axis only, 277,596
bytes) with a trimmed build of the official variable font v5.000 from
the Google Fonts repository (google/fonts, ofl/googlesansflex, commit
bd8f81dd). The weight (wght 1-1000), width (wdth 25-151) and rounded
(ROND 0-100) axes stay variable; optical size and slant are pinned to
their defaults (opsz 18, slnt 0) with the fontTools instancer. The new
file is 571,544 bytes. Its defaults are wght 400, wdth 100 and ROND 0,
and it covers every codepoint of the old file with the same features
(including tnum), vertical metrics and advance widths for text.
The font is licensed under the SIL Open Font License 1.1. Ship the
license as assets/fonts/GoogleSansFlex-LICENSE.txt and register it with
the license registry next to Inter's.
The Material text theme now gives the display, headline and title roles
ROND 100 when the bundled family is in use. Body and label roles keep
ROND 0 for crisp reading text and small labels. Only ROND is set, so
the engine still derives wght from each style's fontWeight. System and
imported fonts get no axes, and the Mornye style is unchanged.
M3EButtonGroup autofocuses its first segment. On desktop that took focus
from the shortcuts' idle node, so Space pressed the segment instead of
toggling playback on the Library songs and albums pages, in Settings rows
with a segmented choice and in the equalizer.
MaterialExpressiveScope can now keep its child from taking focus as it
mounts. The group's segments stay unfocusable until the mounting frame's
autofocus pass has run, then Tab and clicks reach them as before.
Also drops two unneeded imports from the songs table test.
The Material full player, mini player, desktop player bar and desktop Now
Playing now take their ColorScheme from the current cover through a local
PlayerArtworkTheme, as DESIGN.md principle 3 asks. The app chrome around
them, and the downloads popover hosted in the bar, keep the app scheme.
The bar keeps its surfaceContainer tier, so resting chrome stays calm; the
play buttons use the cover's primary and onPrimary.
The scope shows a cached scheme on the first frame, keeps the previous
cover's scheme while the next one resolves, falls back to the app scheme
without readable art, and moves the whole scheme with one controller and
ColorScheme.lerp on the effects spring (a static swap under reduced
motion). Each cover change starts one palette job, shared through the
CoverPalette cache. With AMOLED on, the page background stays pure black.
CoverPalette gains an opt-in neutral scheme: a cover whose source color
has an HCT chroma of 12 or less gets a monochrome scheme instead of
Score's fallback blue or a muddy tint. The Material player and Material
headers (CoverPaletteBuilder) opt in; Mornye keeps the tonal scheme, so
its surfaces render as before.
Settings groups blended white or black over the page instead of using a
container tier, and search results, their skeleton and the About and
Donate cards copied that tone. Groups and grouped rows now use
surfaceContainer, so the tier alone separates them from the page and the
reduced motion card drops its outline.
AMOLED tiers keep the M3 dark tone steps around the container. The old
low tier sat almost on black, which would hide menus now that they use it.
Menus share the M3 Expressive standard skin: popup and anchored menus sit
on surfaceContainerLow with the control radius and 12dp rounded items,
matching M3EMenuPopup. Checked rows in the desktop context menu take the
tertiaryContainer selected fill.
Info cards and unselected choice chips use solid container tiers instead
of faded copies. Mornye renders as before.
Material desktop pages kept the phone metrics: 48dp touch rows, 56dp
row artwork, 16dp settings row padding, a 120dp collapsing header, and
lists stretched across the whole window. The selection bar was the
phone sheet with its drag handle, tap hint and two-line pill grid.
Register AppTokens.desktop for Material on desktop (M3 density -2 for
rows, row artwork and the page header; radii, motion and the 48dp
control target unchanged), lower the Material songs table row to 44dp,
and center Material lists past 1280pt (the M3 large window class plus
the rail) while Mornye keeps Music's full-width pane. The desktop
selection toolbar drops the handle and tap hint, lays its actions in a
wrapping row of 40dp buttons, and keeps the destructive action at its
own width.
Use directional insets, alignments, positions and borders so Arabic and
other RTL locales lay out from the right. Mornye chevrons use the
CupertinoIcons glyphs that match text direction, synced lyric voices
align to start and end, and transport controls, seek bars and progress
stay left to right as media timelines do.
Mornye built its MaterialApp outside DynamicColorBuilder, so switching
styles remounted the whole app: its state was lost and, in debug builds,
two macOS menu bars briefly coexisted and tripped an assertion. The menu
bar also sits outside the reduced-motion hero wrapper now.
Rename the Dart package, Android and iOS identifiers, Rust crates, native libraries, and Discord plugin. Preserve legacy data readers and compatibility aliases.
Update localized branding, documentation, artwork, build tooling, and release artifacts. Route Telegram release notifications to @mornyeupdates and link @mornyecommunity.
- Keep one accent container per group: neutral source, album, Atmos and
extension badges, neutral Rewind card, secondaryContainer icon wells,
theme roles instead of fixed teal, orange, amber and green.
- Drop row and sheet header dividers on Material; search results and
their skeleton become a connected list with 2dp gaps.
- Use a solid errorContainer with onErrorContainer in ErrorCard, the
crash banner and the URL notice; Weekly Releases and extension
collections show ErrorCard with retry.
- Raise touch targets to 48dp for search sort, service chips, metadata
quick select, copy rows, the queue drag handle and spectrogram chips.
- Use SettingsSegmentedChoice, AppChoiceChip and SettingsInfoCard where
custom controls stood in, and a full-round text button shape.
- Remove nested cards in the tutorial, update dialog, file info path and
lyrics status rows.
- Localize the verification paste action, start the Home search hint
with "Search", and fix the invisible Find spinner on a disabled button.
Add lib/theme/README.md (UI-73): what Mornye is, which files form the theme layer, how DynamicColorWrapper builds each style, how Mornye maps onto Material 3 ColorScheme roles and AppTokens, and how widgets branch with context.isMornye and context.adaptiveIcon.
Derived from every file in lib/theme/, lib/models/theme_settings.dart, lib/providers/theme_provider.dart, lib/providers/runtime_profile_provider.dart, lib/widgets/mornye_chrome.dart and test/design_system_test.dart.
The Material theme now draws its main surfaces with rounded Material
Symbols: navigation, player, mini player, queue, settings, sheets,
dialogs and shared controls. AppIcon maps legacy Icons to their symbol
and keeps outlined glyphs unfilled. Mornye keeps its original icons.
Icon buttons, text and filled buttons, dialog actions, sliders, the setup
FAB and indeterminate spinners use the Material 3 Expressive components.
Each wrapper falls back to the standard Flutter widget for Mornye, reduced
motion and custom sizing, so existing layouts and hit areas stay intact.
Port the pinned Material quantizer and Dart RNG compatibility to Rust while keeping Material Score and final color schemes in Dart. Include exact palette fixtures, licenses, and Kotlin worker ABI coverage.
Keep Search inside the expanded tab bar and animate it into a separate control when collapsed. Reduce navigation surface tint while retaining clear icons and accessibility fallbacks.
Centralize existing Material and Mornye layout metrics in AppTokens and share adaptive icon selection. Enlarge the Home profile avatar to 44 dp with a 56 dp touch target.
Add a selectable Mornye theme with shared glass controls, dialogs, sheets, notifications, and collection headers while retaining Material components.
Update player artwork, lyrics transitions and highlighting, synchronized rolling time labels, volume controls, and compact navigation. Unify metadata, Library, search, and extension surfaces; preserve restored artwork and report extension load failures.
Validation: full Flutter analyzer clean; 713 tests passed and 4 skipped; pinned Dart formatting and diff checks passed; signed ARM64 and ARM32 release APKs built and verified.