The profile row of Settings opened a form for the name and the photo and
nothing else. It now opens a profile: the avatar and name with one line
for the taste and the month listening began, the song in the player, and
what the listening record and the Library hold.
- All time: listening time, songs and artists played, listening days, the
current and the longest streak.
- Last 30 days: the time, the change against the 30 days before, a bar
per day and the artists first heard.
- Music taste: the genres the listening time goes to. Genres come from
the Library; a played song is matched by title and artist, because a
record carried over from another device knows songs by other paths.
Shares are of the time whose genre is known.
- Listening habits: time by weekday, the favorite and the biggest day, an
ordinary listening day and the song replayed most in one day.
- Top artists, albums and tracks, and the collection: songs, albums,
genres, loved songs, playlists and favorite artists.
With Record listening off only the collection shows. The form moved to
its own page behind Edit profile and returns to the profile on Save.
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.
The Save preset button sat in a Flexible beside a Spacer. The two halved
the row's free width and the button used only a little of its half, so on
a wide page the reset and menu buttons stopped mid-row. The button now
takes the room up to them and keeps its own width at the start.
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.
A tester turned "Record listening" off and still saw On repeat on Home.
The shelf reads the last four weeks of the statistics and never looked at
the switch, so songs recorded earlier stayed until they aged out. Tapping
one then started a queue of the shelf, which read as an old queue coming
back.
With the switch off, the played shelves (On repeat, and Recently Played
in the Mornye style) are now empty and do not read the statistics. The
record itself is kept, so they return when the switch goes back on.
So Home keeps its number of sections, On repeat's place is taken by
"From your Library": ten albums of the Library, picked anew each day.
Each album gets its place in the day's order from a stable hash of the
day and its key, so a download landing mid-day swaps one cover at most
instead of reshuffling the shelf. A Library of more than 300 albums is
read through a window that moves with the day. Choosing a cover opens
the album. The shelf is read only while the switch is off.
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.
Every touch on the full player ends in a call that settles the page back
open. When back closed the player while a finger was still down (a back
swipe, or a second finger), that call arrived after the pop and animated
the popped route back onto the screen. The navigator no longer counted it,
so the close button and back did nothing, and dragging it down popped the
page below it instead: the app shell, which left a black screen until the
app was force stopped.
The route now ignores drag and back-gesture calls once it is popped, and a
drag only ever pops the player itself.
Fixes#918
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 failed download was dropped when the queue was saved, so after a restart
nothing showed which songs never arrived. It is now saved and restored as
failed, with its error, and is not retried on its own; retrying or
dismissing it works as before.
Fixes#931
A song whose rate the DAC refuses is already converted, but the DAC was
still asked for that rate first, for every song, and a DAC that takes the
request and then plays silence was never converted at all.
- Read the UAC2 clock's RANGE before setting a rate and refuse one it
does not list, without touching the clock.
- Remember per connected DAC the rate a song rate played at, so the
refused rate is not requested again on each song.
- Add "Highest sample rate" to the Direct USB settings (Automatic by
default): rates above it are never requested and such songs are
converted down.
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 load hook of the queued song set gapless-audio back to no before mpv
had decided whether that song keeps the open device, so the device was
closed and reopened at every song change. The libmpv build used on
Windows closes it without playing what is still queued, which drops the
end of the previous song.
The option now goes back to no once the queued song has started.
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.
An uncaught error's log line now ends with the first frames of its stack:
a tester's export held two null-check errors with nothing to trace them
by. A song that streams while USB bit-perfect output is on logs that the
USB output is not used for it, which a report of songs losing exclusive
output could not show.
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.
The shadow check has read history.origin_file_path since network songs
could be saved offline, so the two paging tests failed on a fixture table
without it.
Closing felt cut short next to opening. Three things hid the motion:
- Material's shrink ran on a spring more than twice as stiff as the
entrance's; it now runs on the entrance's slow spatial spring.
- Material's own content (title, controls) faded on the route's value,
which a closing spring covers early, and was gone in about 0.1 s. It
now holds from the moment the route is popped; the page fades as a
whole.
- In both styles the shrinking page had faded out at 85 percent of the
way. It now fades over the last 70 percent and is gone as it arrives.
Mornye closed on its standard spring and now closes on the full-screen
one it opens on.
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.
A song opened on its library cover changes to the file's own picture
while the cover is still flying in, so the cover landed on a picture
that was not decoded yet and blinked empty for a frame. The new picture
is decoded before the change, and the header keeps its colours until
the new cover's own arrive.
Edit and Add to queue waited for the file check and appeared during
the page's entrance. The song is now taken to be there until the check
answers. The cover's flight also reads the desktop Mornye header's
continuous corners.
The loading header drew the cover's shadow while its picture was still
on the way, which left a grey blur where the cover belongs. The cover
now shows the skeleton placeholder until the picture is there, and the
loading header leaves the shadow to the loaded page.
A switcher runs its leaving curve backwards. Given a spring, that held
the leaving child in place for most of the time and dropped it at the
end, so closing the lyrics faded the background before the words.
AppMotionSpec.leaving flips the curve, and every switcher fed by a
motion spec uses it.
The rebuilt header rounds the cover outside its Hero, so the cover flew
from a list row with square corners and got them back on landing. The
flight now clips the cover itself, from the row thumbnail's corner to
the header's.
Fades in the detail and artist headers, the fast scroller thumb, the
scroll edge fade, the swipe-to-delete fill, the service chip and the
motion header video now use the effects springs, so Mornye gets its own
springs instead of fixed linear lengths. The Mornye landscape player's
page, actions and lyrics mask fades use Mornye's effects springs. The
null test explanation and the metadata editor section cards unfold on
springs; the editor cards, which move the sections below, use springs
that stop at their height. Reduced motion now resizes those at once.
The cover and collapsing title tests expect Mornye's effects springs.
AnimatedBadge restarted its bump from 1.15 (Material) or ran a linear
1.3 tween (Mornye) on every count increase. It is now a push on a spring
at rest: it rises to about 1.15 and settles, on Material's fast spatial
spring or Mornye's fast spring, and a count that grows mid-bump pushes
from the scale and speed on screen.
AnimatedLibrarySliverGrid's discrete extent change uses springs that stop
at the extent (Material's standard spatial spring, Mornye's fast spring),
since an overshoot would flip the column count twice; it already went on
from the extent on screen. SkeletonCrossfade and the selection check's
glyph fade use the effects springs instead of fixed linear lengths.
The tutorial page dots, demo frame and page icon, and the lyrics card
background swatches, line rows and line checks used easeOutBack. They now
run on the AppMotion springs: Material's expressive spatial springs, which
overshoot by themselves, and Mornye's springs without a bounce. The
tutorial pages turn on the slow spatial spring, its tips rise through the
shared staggered reveal, and its fades use the effects springs. Reduced
motion is honoured where the tutorial ignored it: pages jump and the demo
frame resizes at once.
The press highlight and the capsule's disc ran fixed curves; they now
move on Mornye's springs from where they are: the touch highlight comes
in on the fast effects spring and lingers out on the slower one, and
the disc grows and shrinks on the fast spring. The glyph's press scale
uses the fast spring and its dim the fast effects spring.
A skip pressed during the glyph's advance restarted it from its first
frame, so the moving triangle jumped back. The advance now runs on and
one more follows it.
Opening lyrics or the queue moved the cover and panels, faded the
background cover, tilted the gradient, dimmed the shade and faded the
moving artwork's glow over a hand-picked 380 ms curve. They now share
Mornye's standard spring, without bounce, and change at once under
reduced motion. The lyrics viewport mask follows the controls' fade.
The Material player's cover and lyrics crossfades, its backdrop fade and
the lyrics controls' fade ran hand-picked curves; they now use the
effects spring of each style. Turning pronunciation or translation on
resizes the lyrics on Material's slow spatial spring and Mornye's
standard one, and the lyrics editor scrolls to a line on the same
springs, which stop at the line. The paused cover's bounce curve was
only a fallback for reduced motion, where it never ran; it is now a cut.
A released drag on the full player settled open over a fixed 220 ms
curve and closed from rest; the Mornye shrink ran an eased curve that
started from rest. Both now finish on a spring that starts from the
finger's velocity: Material's standard spatial spring back to open and
its exit spring to close, Mornye's standard spring for both. Mornye also
opens on its full-screen spring instead of Material's decelerate curve.
Reduced motion settles a let-go drag at once.
The titles under the cover and in the mini player ran a fixed 280 ms
curve on release. They now keep the speed they had, through the swipe's
resistance, on a critically damped spring that never shows the
neighbour on the other side of rest, and a new swipe takes titles that
are returning to rest over where they are drawn.
A song row's queue swipe returns to rest from its own speed, on
Mornye's spring in Mornye, with a flick back capped so the row never
passes rest. The Material strip's fill deepens on the fast effects
spring.
Reversing the inspector mid-move swapped its curve and jumped. Its value
is now the pane's openness on screen: opening runs on the style's spring
from the current velocity, closing eases back from wherever the pane is,
and the pane beside the content still stops at its width.
Mornye's desktop Now Playing fade ends with the fade instead of waiting
for a movement it does not make. The sidebar tint and artwork, the
artwork hover, the volume popover, row actions, hover scrims, the header
title, the mini player lines and the Now Playing panel cross-fade use the
style's effects springs, and the scroll arrows page on a spring that stops
at its target. A closed Now Playing panel drops its queue at once.
The selection panel collapsed, expanded and returned to its place on a
fixed curve from rest. It now runs on the style's slow spatial spring
from the drag's velocity, and from its own velocity when the handle is
tapped mid-move; it stops at its place instead of rising past it. The
dismissal keeps its short eased exit. The bar's entrance gives the slide
and the fade their own lengths, and reduced motion keeps the fade alone.
The Mornye dialog grows on the fast spring. The orientation fade, the
settings search reveal and the log follow move on the style's presets;
the reveal and the log follow now honour reduced motion.
The three selected destination icons bounced on elasticOut and
easeOutBack, also with reduced motion and in Mornye. They now play on the
fast expressive spatial spring in Material, which overshoots by itself,
with the fade on the fast effects spring; Mornye's tab icons and reduced
motion stay at rest.
The Mornye selection pill and switch thumb moved on a fixed ease that
started from rest. Both now run on the snappy spring from where they are:
a released pill or thumb keeps the finger's velocity, and a new selection
mid-move goes on from the current velocity. The spring starts in build,
after the parent applied the change, so it never heads for the old slot
first. The pill's lens swell moves on the fast spring.
Mornye had no motion presets: each call site chose its own eased curve.
MornyeMotion now names springs the way SwiftUI does (duration and
bounce), and AppMotion hands a Mornye site the spring of the same role
wherever that site animates. Reduced motion keeps the site's fallback.
Material destinations now fade through as Material describes it: the
page shown fades out, then the new one fades in from 92 percent. A
change made mid-fade continues from the opacity on screen instead of
starting again from nothing.
Track details kept a hand-built hero for Material and a separate page for
Mornye, with Play and Delete as a bottom bar and one long card of facts.
- Both styles and desktop now use the collection header: cover, title,
artist with the album below, and the meta row (quality, length, explicit
badge, source). The header takes its colours from the artwork.
- Play is the one wide filled button in the header, between a round Edit
metadata and a round Add to queue. Delete stays in the More menu only.
- The facts are split into Metadata, Release, Audio and File Info, built
once for both styles, on tokens and text roles instead of literals.
Identifiers copy on a tap; a long press still offers the copy sheet.
- A missing file shows the shared error card above the sections.
- The song change transition follows the app's motion settings.
- The service pill and its per-service icons are gone; the service is a
row of File Info.
Tests follow the new layout. The sidecar export test also scrolls the
desktop menu to its row, which sat below the menu's fold.
Portable players often do not read the cover inside a song and look for a
folder.jpg beside it. A new Files setting, Save Album Covers (off by
default), saves the cover a download carries into the album's own folder,
with a size choice from the sizes of Embedded Cover Size. The rule of the
animated cover applies: only folders that hold one album get the file, and
one already there stays. A PNG cover is saved as folder.png; other image
formats are not saved.
The folder writing of the animated cover moved to SongFolderFile, which
both covers use for local folders, Android documents and network storage.
While the setting is on, Remove Empty Folders counts folder.jpg and
folder.png as leftovers of a deleted album. While it is off they keep
their folder, as before.
Issue #913
A failed read of an embedded cover was remembered for the whole run for
plain files, so a song read once before the desktop backend had started
showed no cover until the app was restarted. Playing or opening the
song now asks again after 30 seconds; lists still skip a failed file, so
files without a cover are not read at every scroll.
Library was told whether its tab is shown through a constructor
parameter, so entering and leaving the tab built the whole Library:
6 to 7 ms on a profile build on the emulator with a list of songs open.
All it does with the answer is apply the default view when the tab
appears.
The tab now takes a listenable and the shell keeps one Library for the
life of the tab.
With its controls hidden, the Mornye lyrics view still drew about twelve
frames each second: the two time labels kept rolling their digits
unseen. Hidden controls now turn their animations off, so the view
draws when a lyric line changes.
The list keeps its scroll offset between openings. Without fixed row
heights it then built and laid out every row above that offset: 30 ms
for a place 150 songs down on a profile build on the emulator, growing
with the depth.
The list now remembers the first row it held and a row's height. On the
frame that opens it there, the rows above are empty boxes of that
height, as the Material queue does for its jump to the playing song.
A Navigator that is built again builds the page of every route on it
again. The shell built its tab navigators anew on every build, so each
switch of tab rebuilt Home, Library and every page pushed on them: one
frame of 8 to 16 ms on a profile build on the emulator, at each switch.
The tab navigator now hands back the Navigator it built until its page,
key, observers or hero setting change. Library learns whether its tab is
shown from above its navigator instead of as a parameter.
The state of a song that ran out still carries the last position read
while it played, which can lie well before the listed length. A phone
that followed then took its own move to the next song for one picked by
hand and ended the session (seen on a real run with the computer
leading). The report now places a finished song at its end, and a phone
that ran out of its song is no longer logged as paused by itself.
Between a song's end and the start of the next one a player reads as
neither playing nor paused. The phone took that for a pause, so at each
song end the follower was paused and rejoined about three seconds into
the next song (seen on a real run with the phone leading). A device that
reads as stopped within the last moments of its song is now given the
transition wait before a cue goes out.
With reduced motion the rows under Share with other phones grew through
a size animation of no length, which finishes inside its own layout and
which the framework rejects. They now change size at once.