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.
The song menu scrolled its own rows inside a plain modal sheet. Once the
rows were taller than the sheet (a song with a link, a paired computer,
a short screen) the scroll view took every vertical drag, so a pull down
at the top did nothing and only a tap outside closed the menu.
The menu now sits in the shared scrollable sheet, like the Library sort
and Audio info sheets: a drag up grows the sheet and then scrolls the
rows, a pull down at the top closes it. Its own 82% height cap is gone,
the shared sheet opens at 85% at most.
The header's backdrop ended in a straight cut above the list, which read as the artwork lying on top of the songs.
The list now comes forward: a 28 dp rounded top edge in the page's surface colour covers the end of the backdrop, travels with the list and flattens as the header docks under the toolbar, where the bar stays flat. The header's title, details and actions sit 12 dp higher to keep their distance from the edge.
It is drawn by the shared header, so album, playlist, mix, folder, extension collection and track details pages all get it. Mornye and desktop are unchanged.
A component that is handed its own text style takes nothing from the text
theme, so a style written without a family fell back to the system font.
On Android that showed Roboto beside the app's typeface: every Material
app bar title (Now Playing among them), tab labels, snackbars, and the
selection and concert action buttons, whose button style sets a size and
weight.
The theme's own styles now name the family, with the brand roundness on
the title roles, and ExpressiveButton gives a caller's text style the
theme's family when it names none. An imported font is followed the same
way, and the system font setting still leaves the family unset.
Reported in issue 941.
A tester reported that offline most thumbnails in playlists, albums, folders, genres and artists disappear, while song rows keep theirs.
Song rows show the artwork inside the song file first. The other places draw the cover's web address whenever a download has one, and a web cover is only kept in a cache that is capped at 1000 images and 150 MB and shared with every Home and Search image, so most of a large library is not in it. The album page asks for a larger version at another address, which is why a cover seen there did not help its tile.
Those places now fall back to the artwork inside a song file on the device when the cover fails to load: Mornye album, artist and genre tiles, Material artist and genre rows, folders and their song rows, playlist rows and tiles, Library search results and the Up Next rows. Online nothing changes, since the file is read only after a failure. A playlist row or tile looks its file up in the database at that moment. Songs on network storage are left out.
Cover requests also give up connecting after ten seconds, so a network without internet reaches the fallback instead of waiting for the system's timeout.
A full screen cover is cropped at the sides so it reaches down to the title: about a fifth of its width on a tall phone. A tester pointed at covers that lose their lettering or their frame that way.
Playback settings, under Cover art, gain Whole cover (off by default). With it on the cover stays square at the full width and ends above the title, in both styles: in Material it fades into the blurred cover behind the page, in Mornye into its soft copy and then the page colour, as a square video already does. Cover fade applies to it as before.
The switch is disabled while the cover is a card. Motion artwork keeps its own shape either way.
A tester asked for a way to hide the audio figures. The Library's Audio quality setting gains Simple: a song shows Hi-Res (24-bit or more) or Lossless for FLAC, ALAC, WAV and AIFF, Dolby for AC-3, E-AC-3 and AC-4, and the format's name for anything else. An unknown format keeps its name, since it may be lossy.
With Simple chosen the format line of the full player shows the same one word in place of format, sample rate and bitrate. It still opens the audio details. The other label modes leave the player as it was.
Dolby names the codec only: the app does not tell Atmos apart in a file.
A tester asked for a way to change how much of the cover the blur takes. Playback settings, under Cover art, gain Cover fade with three choices: Short, Medium and Long. Medium is the look so far, so nothing changes until it is chosen.
The choice scales the faded part of the cover (0.65, 1 and 1.4 times) in both styles: the Material full screen cover, the Mornye full screen cover and Mornye's motion artwork, each from its own medium start. The row is disabled while the cover is a card, except in Mornye with motion artwork on, where videos are always full screen.
The three-way row of the headphone setting became a shared private row for both settings.
Under the title of the Mornye player with a full screen still cover, a line about four device pixels tall ran across the page at the cover's lower edge, lighter or darker than the one colour below it depending on the cover.
The cover's glow is drawn once at a quarter of the physical resolution. The box of its soft copy ended on a fraction of a pixel there, so the last row was covered only in part: the mask that fades the soft copy out reached that row with the same partial coverage and left part of the blurred cover in it. Stretched back to the page, that row is the line.
The box now ends on a whole pixel.
The refresh button beside Suggested songs and the arrow beside a search
section title sat nearer the screen edge than the buttons and arrows of
the filled rows under them. Both now end 28dp in, the column the row
controls are in.
Joined rows start at the list's outer edge, so two things that suited
flat rows looked cramped. The first row sat 4dp under a collection
header, and a title above a run (Suggested songs, Popular, a search
section, the order editor's hint) started exactly at the run's corner
and read as sticking out.
A run under an album, playlist or mix header now starts 12dp lower
(a multi-disc album keeps the space of its disc label), and those
titles start 20dp in, where the Library's date and letter headers sit.
Suggested songs also gets 4dp more above its rows.
In the Library search only the song results were filled, connected rows;
albums, artists and playlists under them were plain rows. Every kind now
lists its results as one connected run of filled rows in Material.
Mornye keeps its flat rows.
Song rows under an album or playlist header were flat, while the
Library, folders and mixes list songs as one connected run of filled
rows. In Material the rows of online and Library albums and playlists,
the order editor and the suggested songs now use the same filled,
connected rows; a multi-disc album joins the rows of each disc.
Mornye keeps its flat rows. collectionTrackCardStyle names the choice so
the screens stop repeating it.
A menu with several groups, such as Sort and More on a playlist page,
opened as separate panels with a gap between them, which read as two
menus. The groups now share the one menu surface with a divider between
them, as the reduced motion menu already drew them.
A filled song row took the card theme's tone, which sits on or next to
the page colour, while artist, genre and settings rows take the group
fill. The Folders page and an artist's songs therefore read as flat
text beside the Artists list, and the 2 dp gaps of their connected run
could not be seen.
A filled row now takes the group fill too, so every connected list has
the same fill and shows its gaps. Current and selected rows, flat rows
and Mornye are unchanged.
Checking several songs showed each spectrum only inside its own report,
all in the same color, so songs could not be compared at a glance. Once
two songs are read the sheet now draws their average spectra on one chart
above the list. Each song has its own color, shown as a dot before its
title in the list and used for the spectrum in its own report.
Eight colors are told apart reliably, also with color-blind vision, on
the light and dark surfaces; songs past the eighth share the outline
color. A song keeps the color it got when it was read, and a song that
could not be read takes none. Songs with different sample rates share
the frequency axis of the highest one.
In the Material style a Settings group split into connected rows (2dp
gaps, tight inner corners) only when every child was a SettingsItem,
SettingsSwitchItem or ListTile. One custom row, such as a slider or a
segmented choice, dropped the whole group back to a single plain card.
"Volume and transitions" and "Autoplay from your Library" on the
Playback page looked unlike every other section for that reason, and so
did other groups holding a row wrapped in a builder or its own widget
(audio output, headphones, the paired devices of Link, scrobbling
accounts).
A group now decides from its children: several children are rows,
custom ones included, unless a SizedBox or Divider among them shows a
hand-built form, which keeps its card. A single custom child, such as
the equalizer chart, keeps its card too. `connected` became nullable:
true and false still force either layout.
The metadata option sheets keep their previous layout, since their
entries carry their own dividers. The Logs filter drops its divider in
the Material style so its two rows connect like the rest.
Flutter's reorderable lists place the dragged row in the overlay by screen
positions. With Interface size off 100%, or on a tablet, where the app
scales itself, the overlay's pixels are not screen pixels, so the row was
drawn up and to the left of the finger (at 85%, about 15% of the finger's
distance from the top left corner), far enough to push its cover off the
screen.
ScaledDragProxy wraps the dragged row and moves it to where the finger is,
from the overlay's own scale; it does nothing at 100%. It follows the row
back to its place on a drop as well. Every reorderable list uses it: both
queues, playlist and collection order, album track order and the two
provider priority pages.
FlutterView.display throws a null check error when the engine has replaced
its display list and the view does not yet name one of the new displays,
which happens while a window is dragged on Windows. Every read of the
display now goes through displayOf, which gives null in that case.
Fixes#930
A still full-screen cover now ends the way moving artwork does: the cover
turns soft where it fades, then settles into one colour, the average of
its lower edge as the page shows it, shaded like the video's.
The cover does not change, so the soft band and the colour are drawn once
per cover and page size into a quarter-resolution image; no filter runs
on later frames, and every device shows it. The colour is read from the
small decode the mini player already holds and kept dark enough that the
controls' full dark layer still clears white labels on a white cover. It
sits inside the contrast sample, which then reads the colour the labels
really sit on. A new cover's glow fades in over the previous one.
A DAC that tops out at 48 kHz refused 96 kHz songs, so they fell back to
Android's mixer and played through a DAC still set to the low level the
direct driver leaves it at, which sounded like silence.
Direct USB now tries the other standard rates when the DAC refuses the
song's own: lower rates first, the song's own family ahead of the rest,
then higher ones. The song is converted with a Kaiser windowed sinc
polyphase filter (130 dB stopband, passband to 0.907 of the lower
Nyquist), with triangular dither for a 16-bit output. The status line
names both rates and Audio info no longer calls such a song bit-perfect.
DSD is never converted, and a DAC is asked at most four times.
The push of the Mornye badge was measured once, on a spring that already
followed the Animation speed, and then scaled again: after a restart with
the speed changed the bump was about twice or half its height. The push is
now measured on the spring in use, once for each style and speed.
With USB bit-perfect output on, every song now logs whether the USB output
was requested for it and what kind of source it has, so a log shows which
songs go through Android's mixer and why.
Settings > Appearance > Animation speed plays the app's own motion from
half to twice its designed speed (issue 916 asks for faster navigation).
The motion presets, page pushes and pops, the player's opening and
closing, the tab switch and the springs a released drag settles on all
follow it. Lyrics and the seek bar keep time with the song, reduced motion
still wins, and the framework's built-in component motion is unchanged.
The default is the designed speed, where every preset is returned as it
was.
Nothing stopped libmpv when the window closed, so the process ended with
the stream open. With exclusive output on Windows the device was reported
to stay silent after that until it was plugged in again. A quit request,
and the quit for an update, now stop every libmpv deck and wait until its
output is closed.
The audio output's own lines (device period, buffer, format, underruns)
now reach the log, for reports of crackling in exclusive mode.
In the Material style the provider priority lists (downloads, metadata,
lyrics and its Disabled section) drew every row as its own rounded card
8dp apart, and the network storage page put each connection in a group of
its own. Priority rows now form one connected run, 2dp apart with large
corners only at its ends; Mornye keeps its separate rows. Connections are
rows of one group in both styles.
In the Material style the mix page and the Library search drew every song
as its own filled card with a gap between rows. They now form one run, 2dp
apart with large corners only at its ends, as the Library song lists do.
A search run carries on across loaded pages and ends at the last row shown.
Material's track details header takes its colours from the cover. The
first time a cover was seen, the page opened in the app's colours and
changed to the cover's one frame after it was up. The step that readies
the backdrop before the page is pushed now readies those colours too,
for at most 300 ms.
Track details prefers the picture inside the file over the Library's
cover. Local songs opened without reading it first, so the first time a
song was opened the cover and backdrop changed once after the page was
up. Every Library opener now waits up to 300 ms for that read, as the
downloaded-song openers on Material already did, and Mornye's
downloaded-song openers wait the same bounded time.