Material phone and tablet collection headers (album, playlist, local and
downloaded album, folder, extension and mix pages) blurred a 1.5 MP cover
with sigma 32 on every composited frame: every scroll frame while the
header collapses and 30 frames a second while music plays, since the
mini player wave keeps drawing. The blur input never changes between
those frames; the pinned flexible space only moves it.
The header now wraps its background in SettledBlur: the first frame and
the unchanged one after it blur live as before, then a quarter
resolution image (about 0.4 MB at 1080 x 2340) is drawn until the cover,
theme, size or pixel ratio changes. Scrims, gradient and content are
unchanged.
Host test on a 411 x 891 dp phone with a ticking mini player: 91 frames
including 30 collapse frames composite the live blur 2 times instead of
91. Settled page against the live blur: mean channel difference 0.09
(light) and 0.07 (dark), largest 7 out of 255.
Impeller has no raster cache, so an ImageFiltered blur runs its offscreen
pass on every composited frame even when nothing under it changed. The
new widget blurs live on the frame its child changes, then rasterizes the
blurred child once at a quarter of the physical resolution (owner
approved for wide blurs) and draws that image until an input changes.
A frame settles it only when the live layer was retained unchanged, so a
fade or opacity animation inside a nested layer, which never reports a
repaint upward, keeps it live until it ends. A new child widget, sigma,
resolution, device pixel ratio, size or any repaint below drops the image.
Textures and platform views stay live. Images are disposed on change,
detach and dispose. It adds no frames on a still screen beyond the one
that swaps in the image.
Host tests: one image per settled input across 60 frames of movement and
a ticking sibling; each input change re-settles; a 500 ms fade settles
only after it ends; mean channel difference to the live blur 0.37 (1x)
and 0.26 (3x) out of 255, against 9.8 for a quarter smaller sigma.
LibraryDirectoryView rebuilt a TrackTableRow, a quality label and the id
map for every song of the open folder on each build, and an id set for
pruning the selection, so a click in a flat folder with thousands of
files walked all of them.
The view now keeps the rows and the id map while the folder's song list
and the quality label mode stay the same, and the id set while the list
stays the same. The artwork widget reads its colors from the theme, so
a theme change still repaints it.
Measured with a 3,000-song folder (widget test): a selection click
re-created 3,000 rows before and none now; a quality label change or a
reload still rebuilds them all.
Before the menu items were kept between builds, every rebuild sent a
new menu, so a hot reload that edited the menu code showed the edit
right away. The kept items would otherwise stay until something they
show changed. Hot reload now drops them, as it did before.
The MaterialApp builder read MediaQuery.of to copy displayFeatures and
navigationMode, a full MediaQuery dependency, so every resize frame
(60 to 120 Hz during a live resize, and every frame of the mini player
window animation) reran it and rebuilt the drop target, playback
feedback, scaffold messenger and the desktop shortcut layer. On macOS
that rebuilt the menu bar too.
The copy now lives in a small widget that reads MediaQuery in its own
build and wraps the glass preparation and the UI scaler as before, so
those two rebuild on the same changes as before while the app content
passes through unchanged.
The shortcut layer also read the window width with MediaQuery.sizeOf
from its commands. Called outside build, that still registers a
dependency, so after the first Escape or Back every resize rebuilt the
layer. It now reads the nearest MediaQuery without depending on it,
the same value at call time.
Measured in test/desktop_menu_bar_rebuild_test.dart (host): 10 resize
frames plus 10 mini player frames sent 20 menus before and 0 now, and
the shortcut layer keeps its Shortcuts widget across them on macOS,
Windows and Linux.
PlatformMenuItem has no ==, so every rebuild of the menu bar built
about 40 new items and PlatformMenuBar re-serialized all of them,
re-registered every callback and sent Menu.setMenus, which makes the
macOS plugin rebuild NSApp.mainMenu on the platform thread. That
happened on every rebuild of the app builder and on every frame of a
theme animation (the menu bar depends on Theme through isMornye).
The menu bar now keeps its item list and rebuilds it only when
something the items show changes: the app and Material localizations,
the Mornye style, whether the player UI and the Store show, and the
window mode. The callbacks read focus and the player at call time, so
reusing them runs the same commands.
desktopShortcutBindings also returns one unmodifiable map per platform,
so Shortcuts no longer drops its index and notifies on every rebuild
(SingleActivator and the intents have no ==).
Measured in test/desktop_menu_bar_rebuild_test.dart (host, 100 ms
test frames): a light to dark theme change sent 4 menus before and at
most 1 now (PlatformMenuBar's first update after mounting), the theme
change back 0; a locale change sent 3 before and 1 now.
A Loved or playlist entry of a network song will keep its cover as a
network:// reference, which only this device's cover store reads. Such
a track can reach the download queue (a tap on an entry without a
download, Download all), where the queue tiles load the cover over http,
the request payload hands it to the backend as a cover URL to fetch and
embed, and post-processing hooks receive it.
The queue now stores such a track without that cover, so the backend
falls back to the provider's cover. Other tracks are queued unchanged
(the same instance). The quality picker loads its cover with
Image.network, so it now gets only an http cover; a local path showed
the same placeholder there before.
Cover widgets, precaching and palettes saw a network:// cover as a form
without an image. coverFilePath now answers it with the file the cover
store's index names, without file IO, so they show a stored cover as a
local file. A cover widget given a network cover the store does not
hold yet fetches it once through the store, within its fetch limit, and
builds again when it lands. Queue rows whose cover is not stored yet
show it that way.
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.
Screens repeated the http-or-file check and raw Image.file calls for
cover strings. The Link transfer rows accepted only http(s) and plain
paths, so a song cover stored as a file:// URI showed the placeholder.
Track Metadata, the transfer rows and the queue artwork now use
isHttpCoverUrl, coverFilePath and coverImageSource. The album, local
album and playlist header backgrounds and the playlist grid cover use
LocalOrNetworkCoverImage with the same decode, filter, gapless and
placeholder settings they had, so they draw the same pixels. The queue
grid prewarm builds its provider with cachedCoverImageProvider.
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.
Rotating the Mornye player from its player page fades the portrait
cover out for 380 ms while the landscape cover borrows the same video.
When the outgoing cover was disposed it paused that shared video, so
the landscape cover froze on one frame. Opening in landscape or
rotating from the lyrics page worked, which made it look intermittent.
Banners now track who borrows a prepared video: it plays while any of
them is visible and pauses only when the last one leaves.
Audio over Bluetooth reaches the listener late, so synced lyrics ran
ahead of what was heard (#753). Lyrics settings gain Lyrics timing: a
slider from 2 s earlier to 2 s later in 0.1 s steps, saved on release,
with a reset.
The offset moves every line and word of the player's lyrics and the
desktop mini player's, so line focus, word sweeps and countdowns follow
it together. Tapping a line still seeks to where it is sung, and a
long-pressed line opens sharing with its own time.
The actions on a linked computer's songs looked unlike the same actions on
the phone's files. The song menu now lists them in the places and words of
the local actions instead of eight "... on <computer>" items, and only the
dialogs name the computer. A started action shows the batch progress
dialog local batches use, with Cancel stopping after the current song,
then the local result snackbar, instead of a "Desktop work" sheet. Editing
tags reuses the metadata editor without its cover and autofill parts,
which work on local files only.
"Desktop work" in Devices becomes "File changes": one grouped list, newest
first, with progress and a stop button on running changes, failed songs
under finished ones, an empty state, and no rows for the internal read and
preview steps.
Albums, singles and playlists, online and in the Library, end with
"Suggested songs": up to ten songs like the ones above that the collection
does not hold yet, each with a preview, an add button and a click or tap
that downloads it. On a user playlist the add button adds the song there
and it leaves the suggestions; elsewhere it opens the playlist picker.
Phones list the songs as rows, desktop in the page's song table.
Suggestions come from a new optional extension method, getRelatedTracks,
which extensions declare with the relatedTracks capability: it takes up to
three of the collection's songs and returns songs in the shape of search
results. The extension most seeds came from is preferred so it can use
their IDs. Without such an extension, the first metadata provider is
searched by the collection's artists. A refresh button starts from other
songs, and loaded suggestions stay for ten minutes.
Reduce the track thickness to 4 and handle length to 20 so volume stays secondary to the seek bar.
Validation: 7 player volume tests passed, scoped analysis and pinned formatting passed, and git diff --check is clean.
Add paired-phone actions for deletion, metadata editing and re-enrichment, conversion, ReplayGain, and cover or lyrics export. Run serial desktop jobs with progress, cancellation between songs, retry deduplication, and status recovery after reconnecting.
Review re-enrichment before applying it, resolve catalog IDs against current records, and refresh metadata and artwork on both devices. Support batches of up to 100 songs from one computer.
Validation: 163 Flutter tests passed, scoped analysis and pinned formatting passed, and git diff --check is clean.
Advance displayed timestamps at media-second boundaries between engine reports, respecting playback speed, pause, buffering, scrubbing and visibility. Retain and persist seeks on restored sessions before loading the source, including a zero-second target.
Validation: 247 Flutter tests, targeted analyzer, formatter checks and git diff --check.
Lazy lists build rows again as they scroll back into view, and the
first ten replayed the stagger each time while later ones never had it:
on a 14-song album, songs 12 and 13 sprang in on every scroll and the
last did not. Rows built while the list is scrolled now appear at once,
so only the reveal at the top animates.
Material's portrait player added the "Playing on" row under its buttons
only while a computer played, so the controls jumped up when one took
over. The row is now kept while empty, 36dp tall like the one-line label
it holds, without the extra gap below. Mornye's larger cover and phones
under 640dp tall, whose lyrics need the room, keep the old layout.
The phone already showed and drove the computer once the computer
started playing, but the computer kept its own paused player while a
phone played, and pressing play there played on both.
The computer now follows a connected phone that starts playing while
it does not: its player bar and Now Playing show the phone's song,
position and queue, its controls drive the phone, and the bar names the
phone. Songs picked or queued on the computer play there and end
following.
Only one device plays at a time. The computer starting pauses the
phones that play; the phone starting pauses the computer. A device
paused this way follows the one that took over (the phone only with its
follow option on).
The phone's mirror of the computer moves into a shared
LinkMirroredPlayback, which the computer's LinkPhonePlayback extends.
The Material player's lyrics toggle and audio output button now match
the shuffle and repeat group between them: filled 56 by 48dp expressive
pills on surfaceContainerHigh, the lyrics toggle on primaryContainer
while open. ExpressiveIconButton takes a width for pills, and the audio
output button can fill one, wrapping the native route picker on iOS.
In Material's metadata review sheet, the connected group centers rows
narrower than itself, so each proposed change sat as a narrow centered
piece under its track instead of filling the card's width.
Material's Playback settings gain "Compact player" (off by default). In
portrait, lyrics left idle while playing shrink the player to a smaller
one instead of hiding it: a one-line title and artist with a queue
button, the seek timeline, and the compact expressive transport with the
elapsed and total times beside it. It unfolds in the same spring as the
full controls fold, so the lyrics take the room they leave.
Touches on the compact player (skip, seek, play-pause, the queue button,
a swipe up for the queue) keep it compact; a touch elsewhere brings the
full player back, as before. The queue stays reachable while the app
bar's buttons are faded.
When Home has no extension feed, a "Mixes for you" section offers up to
six mixes made from downloaded and scanned songs, with no network.
- Songs are grouped into genre families (Hip-Hop, Rap and Trap together)
weighted by what the user plays; artist mixes fill in when tags are
missing. A Favorites Mix leads once enough plays are known, falling back
to loved songs, Autoplay's learning, the saved queue and recent albums
when listening statistics are off.
- Each mix is ranked with Autoplay's scoring, capped at 20% per artist
and never the same artist twice in a row.
- Mixes are built once a day on a worker isolate, only after startup has
settled and no Library scan runs; Home shows the cached mixes meanwhile.
- A mix page in both styles plays, shuffles, saves the mix as a playlist,
and selects songs with a long press like album pages.
- Genre names and the artist subtitle are localized.
A paired computer is saved as a Subsonic connection, so Network storage
called it "Subsonic" and Audio info placed its songs in "Network storage".
Name the device and Mornye Link instead: Network storage lists it as
"Mornye Link" with the computer glyph and no edit button (the Computers
page manages it), Library sources draw the computer glyph, and Audio
info reads "(device) via Mornye Link", for a paired phone's songs on the
desktop too.
The translation prompt asked for every line on its own, which read lyrics
word for word. It now names the song and asks the model to read the lines
together, translate idioms by meaning and leave vocal sounds alone.
Automatic translation spent a request on songs already in the target
language and showed each line twice. A local guess (script, then common
words for Latin-script languages) now skips such songs, and a line the
model returns unchanged shows no translation. A manual translation that
changes nothing says the lyrics are already in that language.
The AI translation sheets match the other settings sheets: the
instruction and server address use AppTextField, and the model sheet
sizes to its content instead of filling the screen. The Musixmatch
language actions align to the end on Mornye.
Home centered at the 1280dp reading width on desktop, but its shelves
still scrolled to the window's right edge and the featured cards ignored
the centering, so a full screen window cut the shelves on one side only.
Material desktop Home now spans the pane with M3's 24dp window margin:
the title, search, greeting and every shelf start at that margin and the
shelves scroll to the edge. The search field stops at the M3 search bar
width of 720dp. Tablets and Mornye keep their centering.
Translate the current song's synced lyrics into a chosen language with
the user's own API key. OpenAI, OpenRouter, any OpenAI-compatible server,
Gemini and Claude are supported, with a model list, a connection test and
an optional extra instruction.
- Keys live in secure storage per provider, never in the settings JSON.
- Translations are cached apart from the lyrics, keyed by the lyric text,
target language, provider and model; lyric files are never rewritten.
- Repeated lines go once, timing tags are stripped, malformed batches are
retried then split, and missing lines stay untranslated.
- Errors map to localized messages; rate limits wait out a short
Retry-After.
- The player and desktop lyrics menus pick the language and show
progress; automatic translation is off by default.
Until a cover style is chosen, Material now fills the top of the player
with the artwork and Mornye keeps the card. The card option is labelled
Card, since it is no longer the default. A saved choice still applies in
both styles; releases never shipped the setting, so no migration is
needed.
Mornye blurs the lyric lines around the current one at a fixed strength.
Lyrics settings now scale it from off to 150% (default 100%), with a
preview line that blurs as the slider moves. Off skips the filter. The
setting shows only where the device draws the blur (Liquid Glass).
Music names the playback route in small footnote type under the player's
actions. Mornye now uses 13pt semibold with a 13pt glyph instead of body
size; Material keeps its label style.
Desktop song, album and playlist menus offer "Send to (phone)" and
"Save to this computer" while a phone is connected, and a snackbar with
View names each transfer, including one a phone offers.
Add a Transfers row with live progress to the phone Computers page and
the desktop Link page once a device is paired. The desktop player bar
button rings its glyph while songs transfer, and its popover lists
Transfers with the same summary.
Show song transfers in their own list: a page on phones and a dialog of
the list size class on desktop, grouped into In progress and Finished,
updating live from the transfers store. Each transfer shows a device
pair glyph ringed by progress, its title and status, a progress bar
and a stop button while active, and opens with a spring to its songs
and their state. Finished ones can be cleared.
While a desktop is paired and connected, the song menu, local and
downloaded album headers, playlist header and the Library selection
toolbar offer "Send to <desktop>" for this phone's songs and "Save to
this phone" for the desktop's. Starting either shows a snackbar naming
the transfer with a View action that opens the Transfers page, and an
offer from the desktop shows one wherever the app is.
Transfers copy songs between the phone and the computer, run by the
receiving device. Adds the offer, status and cancel messages, the
transfers/offer op, LinkTransferSong and LinkTransferStatus, an
in-memory store of this run's transfers, and a placeholder Transfers
view for the units to build on.
Settings groups centered at the 840 tablet reading width, while page
titles and page-wide cards (theme preview, Library stats) follow the
desktop width of `wideListInset`. In a full screen window the groups
shrank between full-width cards. The settings inset now takes the
smaller of its own centering and `wideListInset`, so phones and tablets
keep their layout, desktop pages line up, and sheets keep their edge.
The color palette, scan notice, Files note and empty Extensions state
take the same inset.
Word-timed lyrics (TTML, enhanced LRC) raised each word as it was sung
only in the Mornye style; Material lines only changed color. Both styles
now share the lift, which reduced motion still turns off. The glow behind
held words stays Mornye's.
Carry autoplay, AutoMix, repeat and shuffle across handoffs, synchronize active desktop preferences with the phone, and retain the queue order when adopting shuffle.
Recover visible queue artwork through the shared embedded-cover cache and protect phone uploads with background work leases.
Validation: 443 related tests passed; analyzer, formatting and diff checks passed.
Allow sideways dismissal while paused, prepare full-screen artwork before opening, and keep its gradient during Hero transitions. Add a saved landscape lyrics layout that keeps the cover fixed while the adjacent pane switches between playback controls and lyrics.
Validation: 285 Flutter tests, analyzer, formatter checks, and git diff --check.