On a Material phone the list under an album header rises as a sheet with
a 28 dp round edge. Song rows start right below that edge, but an album
description added 8 dp of its own and the space a 1.4 line height puts
above the first line, so its text sat about 12 dp lower than the rows do
and the sheet looked empty at the top.
As the first thing on that sheet the description now adds no space above
itself: no padding, and the first line without its extra ascent. Mornye
and the desktop, which have no round edge, keep the 8 dp.
A page's first frames are its heaviest, and a ticker counts the time they
took: the frame after them showed the page most of the way in. On the
emulator under load a push that should read 310, 242, 188, 150 px from
rest on consecutive frames read 310, 120, 62.
Routes now run on SteadyStartTicks, which counts a late frame near the
start of a run (more than 2.5 frames at once, within the first 150 ms
shown) as one frame. The transition starts late and plays its whole
length, as a native animator does by moving its start time.
SteadyPageRoute is the material page route with it. Every place the app
pushes a page uses it, and NowPlayingRoute mixes SteadyStartRoute in.
Restarting the controller instead would cancel the push's ticker future,
which makes the navigator drop a replaced route early.
Tests that push a page and then pump one long step now see a late frame,
so they pump frames of 16 ms instead.
The Material player grows out of the mini player, but the page faded in
over the first 200 ms and faded out over the last 70 percent of the way
back, so the Library was read through a whole screen of player in both
directions, and its header and title crossed the screen as ghosts on the
way down. The controls came in on a timed fade that ended long after the
surface had arrived, and the cover flew on the Hero's own ease, far
behind the surface it belongs to.
Everything now follows how far open the surface is. It is solid from a
fifth of the way, so only the last stretch above the mini player is ever
see-through; the player's content shows from a quarter of the way, in
both directions; and the cover's flight undoes the Hero's ease and runs
on the surface's spring, in a straight line instead of an arc.
The surface opens on the default expressive spatial spring (stiffness
380, damping 0.8) and closes at the same stiffness, critically damped,
so it never passes the mini player: about 430 ms instead of 520.
The Mornye style, the desktop player and a player that slides up
without a mini player keep their motion.
Some people use the app only to download and play in another app.
With External player chosen, what only works with the built-in player
was partly hidden already (mini player, Continue listening, queue
actions) and partly left in place, shown disabled or doing nothing
useful. It is now hidden everywhere, so the app reads as a downloader
and file manager:
- Home: mixes, Recently Played and On repeat. Shortcuts keep four
tiles; Shuffle, Equalizer and Listening stats give way to the next
usable ones and are not offered in the picker. The Shuffle shortcut
used to start the built-in player with no player on screen.
- Library: Shuffle on the song list, albums, folders and mixes (another
app takes one song at a time) and the Rewind banner.
- Profile: Now playing, the listening sections and Listening stats.
- Settings: Playback shows the player choice and a note naming the way
back; its entry says songs open in another app. Lyrics keeps what is
saved with a download and hides the lyrics view settings. The
Continue listening and Swipe to queue switches are hidden, and
Settings search leaves the same entries out.
Nothing is deleted: the queue, the listening record and every hidden
setting keep their values and return with the built-in player.
Screens read playerUiEnabledProvider, which stays on while a remote
device is controlled; settings read AppSettings.usesBuiltInPlayer.
A broad runtime pass, reviewed hunk by hunk. Kept are the changes
that leave behaviour and appearance as they were:
- Lists and rows: the swipe background, the track card shape morph
and the queue artwork morph build their animation only while it
runs; filtered lists and completion lookups are cached or indexed.
- Player: provider watches hoisted out of per-line builders, repaint
boundaries around the cover, backdrop and controls, idle timers and
shimmer stop while the route is hidden or the app is paused.
- Painters: the equalizer grid, the compare selection and the squircle
path no longer redo static work on every frame.
- Startup and settings: extension storage prepares beside the settings
load, the theme writes only the keys that changed, and one-off
cleanups record that they ran.
- Scrobbling ignores position-only ticks, a received lyrics
translation update is compared directly, and large native data job
payloads encode off the main isolate.
Left out on purpose: SQLite pragmas and a new index (unmeasured),
the search prefilter for albums and artists, the lyric line rework and
word sweep steps, cover fade changes, sheet sizing, audio writer
timing, widget cover caching, and all Swift changes, which cannot be
compiled here.
Fixed on the way in:
- A batched download status update kept the old path and error where
the direct update clears them.
- The romanizer shortcut skipped 52 letters outside the Latin
alphabet that sit in symbol blocks, such as the ohm sign.
- The two lazy morph states created a second animation controller on
a single ticker provider, which asserts the second time a row
becomes the current song.
The Material 3 Expressive popup takes the anchor's width plus 176dp,
capped at 280dp, and cuts longer labels with an ellipsis. Beside an
icon button that is about 224dp, so the Indonesian "Sembunyikan
Terjemahan" in the lyrics menu read "Sembunyikan Terjema...".
showAppMenuPopup now measures its labels with the menu's own label
style, icon, paddings and shadow inset, and asks for that width when
the usual one would cut a label, raising the 280dp cap only when needed
and never past the screen edges. Menus whose labels fit keep their
width.
The translation editor from PR 926 stacked four lines of text in its
header and gave every lyric line its own outlined field under a label,
so it read as a form beside the lyrics editor's connected list in both
styles.
Lines are now one connected list on the lyrics editor's fills and
corners: each row shows the original above a borderless field, and the
row being typed in rounds its ends on secondaryContainer like the lyrics
editor's selected line. A tap anywhere on a row focuses its field. The
header keeps the title and the track only; the target language moves to
a caption under the lines, and the note on word timing and emptied
lines shows there only when there is a translation to change. The
strings of this editor and of the lyrics editor get Indonesian
translations.
The Material Home kept a grey prompt between its greeting and the first
section. It was written as the lead into the search field ("What are we
listening to?", "Got a link? Drop it in the search"), and stayed behind
when Search became its own tab, so the page opened on three lines of text
before any content and two of its three prompts pointed at a field that is
no longer there. The row and its strings are gone; the Mornye Home never
had it.
That row was also where a tap showed "Search is here now" above the Search
tab. With the row gone the hint shows by itself instead: once, on Home,
for an install that ran a build with the field on Home. A settings
migration notes that it is owed (a new install is not), and it is settled
when the hint has stayed up for two seconds. A touch dismisses a tooltip,
so one that comes sooner leaves it owed and the next launch shows it
again, still at most once per run.
The cover that flies from a list row into track details is the header's
own cover, decoded at the full width of the screen. That decode only
started once the page was built, so on a first open the row's cover
vanished, nothing flew, and the header's cover popped in when its decode
finished: a blink on the cover, longer the larger the picture in the file.
On the way in, the flight now keeps the row's picture under the header's
cover, so there is a picture from the first frame and the sharp one takes
over as soon as it is there. The decode of a cover in a file also starts
when the opener readies the page instead of when the page is built, in
both styles; it is not waited for, so opening is not delayed.
The Material Home carried the search field under its greeting until
Search became its own destination, so people still tap that spot out of
habit. A tap there now shows "Search is here now" above the Search
destination for five seconds, or until the next touch. It shows once per
app run and is never saved, so it cannot repeat during a session but can
help again after a restart. A request made while the Search icon is off
screen does not count as shown.
Edit translation sat right above Edit lyrics with the same icon. The Save button of the translation editor also picked the Cupertino indicator by hand; AppLoadingIndicator already does that for the Mornye style, as in the lyrics editor.
A preview link is a snapshot of the moment a song was read. One service
signs its links for 15 minutes, while the Recommended shelf on Home keeps
its songs for a day, and an extension without previews of its own can
carry such a borrowed link on some songs. Pressing the button then waited
on a dead link twice, up to the player's 30 second prepare wait each
time, and ended in "Preview unavailable".
- When a link fails to start, the song's own extension is searched for
the song and the link it has now is played instead. The button keeps
owning the preview under the link it was built with, and the next press
starts from the link that worked.
- A link that still does not play although its extension answered, or
that its extension resolves to nothing, is not offered again while the
app runs: its button hides instead of failing on every press.
- Starting a preview gives up after 10 seconds instead of the player's
own wait.
The Now Playing More menu lists its actions as one connected group: each
row its own surface, 2dp from the next, large corners only at the ends of
the group. Other sheets still put flat rows straight on the sheet, or one
card split by dividers, so the sheets did not look alike.
- AppSheetOptions wraps a run of AppSheetOption rows in that group, and
showAppChoiceSheet uses it, so every choice sheet follows.
- ConnectedGroupRow gives the same surface to a row of a lazily built
list (languages, countries, folders, playlists, an album's custom
order). The lyrics language list is built lazily again through it.
- The song page's More menu is a connected group of SettingsItem rows
under its fixed song header and sits in AppScrollableSheet. Its
dividers and its own tile are gone; SettingsItem takes a titleColor for
the destructive row.
- Up Next rows are the same group: the playing song is filled in the
group's shape, the rows sit 16dp from the sheet's edges, and the strips
under a swipe follow the row's corners. Opening at the playing song
counts the gap between rows.
- The editor's option picker and the re-enrich results join their rows
too.
Mornye keeps its rows on the sheet's glass.
The lyric line under the player title showed the translation instead of
the sung line whenever the full lyrics' translation switch was on, so a
Japanese song read in English there. It now shows the sung line, and a
new "Translation in lyric line" switch in Lyrics settings (off by
default) shows the translation instead.
A shown translation is passed on with its own word timing, so it sweeps
word by word as it does in the full lyrics; before, it fell back to
plain text whenever the translation replaced the line.
A tester asked that opening an artist go to the provider at the top of
their Metadata Priority instead of another one.
Opening an artist or an album from a name (the player, the Library, a
credit) asked the search provider first and the Metadata Priority list
only after it, although that setting says providers are tried from top to
bottom. The list now comes first, then the search provider and the other
extensions that can search. An item that names its own provider, such as a
search result, still opens there.
"Open in Other Services" lists the services that found the item in the
same order, instead of by name.
A sheet whose body was a list that fills the space it is given (a
ListView, ReorderableListView or CustomScrollView without shrinkWrap)
stayed at 85% of the screen however few rows it had, because the fitted
sheet only measured its content box and the scroll overflow. The Details
sheet of the player showed it: a handful of rows, then empty space down
to the bottom of the screen.
AppScrollableSheet now also subtracts the part of such a list's viewport
that its rows leave empty, so the sheet ends at the last row. It takes
initialSize and maxSize caps, which lets the sheets that used a fixed
DraggableScrollableSheet share the same fitting:
- Up Next (60%, grows to 90%); it asks for a new fit when the queue
changes length, since a list that loses rows reports no change.
- The Mornye Details sheet (75%, grows to 90%) and its desktop dialog.
- The convert sheet, which follows the options of the chosen format.
Plain sheets with a filling list are fixed where they are built: the
re-enrich results and the Add to playlist list shrink-wrap, the playlist
loading state no longer takes the full list height, and the full album
description is as tall as its text instead of always 90%.
Edit metadata and the lyrics editor keep their fixed height: their forms
are longer than the sheet on phones.
Snack bars, the motion header banner, lyrics, the track crossfade and the scan counter follow MotionPace and Reduce Motion. Remaining raw snack bars go through showAppSnackBar.
The rail inset, desktop navigation, level sliders, player header and rewind story tap zones follow the text direction; transport controls and time rows stay left to right.
AutoMix, lyrics size and normalization show their value in a header above a continuous slider. The normalization mode is a segmented choice that shows its disabled state.
Repo cards, detail headers, the inspector, queue and details sheets and settings groups use plain grouped fills; glass stays on navigation chrome. Depth-two settings pages take the grouped settings theme.
ExpressiveButton draws a CupertinoButton in Mornye, AppMenuButton and the lyrics options open the Mornye context menu (Material gets an anchored M3 popup), the view toggle is a segmented control and AppLoadingIndicator draws the activity indicator. Destructive actions use the error color in Material and system red in Mornye.
Shared icons (headers, error cards, sheets) go through AppIcon.adaptive, and the Mornye map covers playback, files, privacy, status and navigation glyphs. link_off maps to a minus circle rather than the plain link.
Button groups, the playback transport and the mode toolbar squish on the
fast spatial spring through AppMotion, so Animation speed and Reduce
Motion apply. The seek bar wave grows on the effects spring and fades out
on its leaving curve.
Leaving motion used ad hoc ease curves and fixed durations. Mornye exits
now use its fast spring (from the current velocity where a controller
drives them) and Material exits use the standard accelerate curve, paced
by Animation speed: dialogs, the desktop inspector and now playing pane,
queue row removal, the selection bar, the Mornye snack bar, desktop page
pops, the recognition switcher and the theme change.
Material dialogs always take the app's dialog route, which shows at once
under Reduce Motion.
MornyeMotion gains glassPress and glassMorph springs, so the glass press,
the folding tab bar and the pouring context menu share one tuned spring
each instead of private constants, and follow Animation speed. The menu
opening now runs on the glassMorph curve over the route's progress.
AppMotion.surfaceEntrance also covers Mornye sheets and menus (slow spring
in, fast spring out), gives Material a fastest-first exit curve and turns
the transition off under Reduce Motion.
Home showed either the chosen extension's feed or the person's own
sections, never both, so anyone with a feed extension lost the
shortcuts, mixes and Library shelves, and the Material Home also carried
the search field.
Home is now the person's own page in both styles and never asks for a
feed. Search is a destination in both styles (Home, Library, Store,
Search, Settings; Mornye phones keep Settings as a page) and opens on
the feed before anything is typed. Recent searches wait for the field
while a feed fills the page; a tap beside the empty field, Back, or the
Search destination pressed again returns to the feed. Without a feed
Search opens on recent searches, and with neither a provider nor a feed
it shows the provider prompt under the field. The Mornye bar's search
button opens the feed first and focuses the field when pressed on
Search, or at once when there is no feed. The Mornye desktop Search page
keeps its recents row and Browse tiles.
Both styles now share one destination order, so the search tab flag of
the shell navigation service and the style argument of the tab order
helpers go. The Material rail and Cmd/Ctrl+1..5 gain Search.
With an empty Library and nothing played, Home says so in both styles
and offers a "Find music" button that opens Search; the Library's empty
state on Mornye leads there too. The feed setting is renamed from Home
feed to Search feed (English and Indonesian; other languages keep the
old wording until translated). The feed no longer repeats the greeting
or Top Picks, which Home already shows.
isDesktopPlatform is only known at run time, so phone builds carried
the desktop player engine, the desktop diagnostics and the Windows
folder lookup. With --dart-define=MORNYE_MOBILE=true it is a
compile-time false and the compiler drops what only desktop reaches.
Android and iOS release builds pass the define.
Three call sites reached desktop code without asking
isDesktopPlatform; they ask now. Without the define (desktop builds,
tests) nothing changes.
The logo on the About page, in setup and on the Rewind card is decoded
at the size it is shown. Split artist names are remembered for the 512
most recent credits, and the release year pattern and the desktop
inspector blur are built once.
The equalizer curve lays its gain labels out once per paint, draws the
0 dB dashes as one path and paints in its own layer. The equalizer, the
spectrogram, the Hi-Res report and the compare chart release their text
painters after use, the spectrogram also repaints when its label or grid
colour changes, and the compare timeline paints in its own layer.
The fast scroller moves its thumb through a listenable in a layer of its
own and rebuilds fully only when it appears or goes. Drag select runs
its auto scroll ticker only while the finger is in an edge band. Pinned
section lists compare their header positions by value and lay a header
out again only when the list did not, the staggered reveal takes its
cheap exits first, and the Hi-Res batch sheet builds its rows lazily.
The press spring of the selection pill no longer rebuilds the whole
pill: the resting pill, the lens and the bar listen to the controllers
they need, and the lens leaves the tree at rest. The bottom bar measures
its label once per text style, keeps the mini player in its own layer
and skips the header lookup while the tabs are already shown. Hidden
tabs keep their last padding, the glass preparation steps aside once it
has run, album surfaces on the artist page read one colour instead of a
whole scheme, and the Library asks for more rows only when there are
more.
Material album, playlist and local album headers decoded their blurred
backdrop at full cover size. It now uses the small decode the track
details backdrop already has. The stretch of the header artwork rebuilds
only while the list is pulled past its start, header title heights are
remembered, the quality the songs of an album share is worked out once
per song list, and the collapsing header reads its expanded height once
per layout change instead of on every scroll report.
The Explore, featured and recent shelves give their lists the card width
up front, so a shelf lays out only the cards on screen. Sorted album and
playlist results are remembered per result list, and the Continue
listening progress stops following the position while Home is hidden.
The mini player progress, the compact bar, the playback controls and the
lyric preview rebuilt on every position report while they were hidden.
They now read the position once while their tickers are off and watch it
again when shown. The mini player warms the motion artwork in a leaf of
its own, the landscape player rebuilds only its shell on play and pause,
the lyrics options button watches the settings it uses, and the word
sweep paints in its own layer with one glow filter.
One counter made every visible cover in the Library rebuild whenever a
single embedded cover was extracted. EmbeddedCoverVersions keeps the
listeners by file, so a new cover reaches the rows of that file only,
and it hands the cover resolver one callback per file instead of a new
closure on every build.
The fade of a decoded local cover drops its backdrop once it is over,
and the cover warm-up decodes by width alone, as the grid cell does, so
the cell reuses what was warmed. The Library remembers its playlist
order and its artist and genre sections between builds, and a cover file
found on disk is trusted for 30 seconds before it is looked at again.
AutoMix mixes two songs on their beats only when it is sure of both beat
grids, and otherwise crossfades. Measured offline over 64 songs of a mixed
library in every order, that was 0.8% of the pairs: 96% failed because one
of the two grids was not certain enough, 3% because the tempos were too far
apart, and none because of a late first beat.
Lowering the confidence a single analysis window needs was not the way: of
the songs whose first window scored 0.25 to 0.35, fewer than half kept the
same tempo six seconds later. Agreement between two windows is the better
evidence, and the analyzer already asked for it, but only from a second
window that was itself certain. A grid recovered that way is now marked
confirmed, and the new Beat matching setting chooses how certain the
confirming window must be and how far the incoming tempo may move:
Standard 0.55, 8% 0.8% of pairs (unchanged behaviour, the default)
More often 0.40, 10% 3.7%
Most often 0.30, 12% 6.2%
The tempo and phase agreement the analyzer requires is unchanged, and so
are the first beat limit and the alignment check when the mix starts.
The setting rests while the transition effect is Crossfade, travels with
Link sound sync (a peer without it ignores the key), and falls back to
Standard for a value it does not know.
Tapping a song that has a local copy on an extension album or playlist
played that one file alone, so playback stopped after it and Next did
nothing. The tile and the desktop table now pass the list and the tapped
position; a local hit plays the whole list through playTrackList, which
skips songs without a file and keeps the list order. The file already
found for the tapped song is passed along, so it plays first even when
the batch lookup misses it. Callers without a list keep single playback.
Reported in #935.
Issue 944 asked for a re-download action on a single song and for "Copy track and artist" in track details. Re-download existed only as the bulk "Queue FLAC" action of a selection.
Track details gain Re-download, after Re-enrich. It asks first, finds the song online from the tags the page shows (an exact ISRC wins, otherwise the scored search with its unchanged threshold), and queues the match on the default download service the way a download from search is queued, quality picker included. It tells the listener when no confident match was found, when the song is already in the queue, or when no download provider is set up. It is hidden for songs on storage the page cannot write, for Link songs, and while the song is still in the queue.
The current file is never touched. A re-download is queued to keep both files, whatever the quality variants setting says, since without it a file of the same name in the download folder ended the download as "already exists" with nothing written.
Matching compared titles and artists after removing every non-Latin character, so two songs in another script both compared as empty and matched each other. Letters and digits of any script now count, and two values of only symbols score nothing. This also applies to Queue FLAC.
"Copy track and artist" sits after "Copy file path" and copies "Song - Artist".
A request asked for a cover art option in Re-enrich > Set common values that takes an image from the device and applies it to all selected songs.
The sheet gains a Cover Art row: pick an image, see its thumbnail and name, clear it again. A cover alone is enough to continue. In the review it shows as a cover change like any other and can be switched off there.
A song with a picked cover is saved through the metadata editor's save, in one write with the typed values, since the re-enrich write only embeds a cover from a web address. Other tags stay as the song has them. A song that cannot take the cover counts as failed for that song only; undo, progress and the library refresh work as for the text values.
The image picker moved out of the single-song editor into a shared function; the editor behaves as before.
A request asked for "Copy track and artist" and "Go to album" on downloads in the queue, failed ones included, and on library songs.
Every download in the queue now opens the long-press menu (right click on desktop), in the list and the grid, not only a queued one. It offers Go to album and Copy track and artist; a queued download keeps Download next, Move up and Move down before them, and Cancel on desktop. Tapping a failed or cancelled download still opens its Remove / Retry dialog.
Go to album opens the album on the service the download comes from, through the same navigation the search results use. The desktop library's right-click menu for one song gets the same two actions; a library song has no album id, so the album is looked up online by name, as the song details do. The phone library's long press stays multi-select.
The copy text and its confirmation moved into one shared helper that the track options menu and sheet now call too.
After a long press selects a song, the finger can slide over more songs
to select them, as in a photo gallery. Sliding back releases the songs it
had passed but nothing selected before, and the list scrolls while the
finger rests near its top or bottom edge.
A row keeps its own long press and hands the pointer to a
DragSelectController, which follows it on the global pointer route: the
won long press already keeps the list from scrolling, and the route
outlives a row that is rebuilt or scrolled away. Rows register with
DragSelectItem so the controller can find the one nearest the finger,
which also works in a grid. A held row that is kept alive off screen has
no place on it and is skipped.
Library Songs keeps the hold and drag onto a playlist: the first hold,
and a hold on a selected song, drag as before. Once selecting, a hold on
any other song selects it (still with the range from the song selected
last) and slides; a slide replaces that range with the songs it passes.
LibraryPlaylistDragSource takes an enabled flag for that, and the card
gets the long press whenever the drag source does not.
Singles, the folder view, album, playlist, mix and Library playlist
pages slide from the first hold through SelectionModeMixin.holdToSelect.
In selection mode a long press there now selects the row; the folder
view and Library playlist rows toggled it before. Desktop is unchanged.
The download quality picker and the artist page's Download discography
sheet were the last two Material sheets that listed their options as
plain rows with tinted icon squares. Their options are now the shared
group rows in one connected group, like the song menu and the player's
More menu. Mornye keeps its own rows.
The song menu still listed its actions as plain rows with tinted icon
squares, while the other Material menus (the player's More menu, the
download queue menu, sleep timer) are one group of filled connected
rows.
Its actions are now the shared group rows, and the song stays in place
above them while the rows scroll.
The Material song lists became one connected run of filled rows (album,
playlist, mix, folder songs, the artist page's Popular), but their
loading skeletons still drew the old plain rows from edge to edge, so a
page changed shape when it finished loading.
The song skeleton rows now take the margin, fill and corners of a row in
a connected run and start below a collection header like the loaded
list; the artist page's Popular rows and their title do the same. The
fill stays still and only the placeholders shimmer, as in the search and
store skeletons. Mornye and the desktop table are unchanged.