Commit Graph
957 Commits
Author SHA1 Message Date
zarzet afb5bee33c feat(motion): Mornye lists show rows at once
The staggered row entrance is a Material pattern, so Mornye skips it. The
stagger delay in Material follows Animation speed.
2026-11-22 00:46:25 +07:00
zarzet 8ed4465776 feat(motion): Material press squish and seek wave use the motion presets
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.
2026-11-22 00:46:25 +07:00
zarzet bd4161d365 feat(motion): exits follow each style and Animation speed
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.
2026-11-22 00:46:25 +07:00
zarzet beab979c0a feat(motion): shared Liquid Glass springs and style-aware sheet 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.
2026-11-22 00:46:25 +07:00
zarzet f4c9766bf0 feat(home): keep Home personal and open Search on the extension feed
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.
2026-11-22 00:34:47 +07:00
zarzet 8398845ce7 build(mobile): compile desktop-only code out of phone builds
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.
2026-11-22 00:19:10 +07:00
zarzet 1ad2666311 perf(ui): decode logos at the size shown and other small savings
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.
2026-11-21 22:09:10 +07:00
zarzet 88a55aab57 perf(audio): cheaper equalizer and analysis charts
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.
2026-11-21 22:08:28 +07:00
zarzet 8db4b3af44 perf(lists): lighter fast scroller, drag select and pinned sections
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.
2026-11-21 22:07:47 +07:00
zarzet 7ff5876846 perf(mornye): rebuild less of the bottom bar and the selection pill
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.
2026-11-21 22:07:06 +07:00
zarzet cc0e55b078 perf(collection): decode the blurred header backdrop small
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.
2026-11-21 22:06:24 +07:00
zarzet 6649359075 perf(home): fixed width shelves and remembered search sorts
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.
2026-11-21 22:05:42 +07:00
zarzet 16ad40e10d perf(player): stop hidden controls from following the position
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.
2026-11-21 22:04:19 +07:00
zarzet 3582a58d3a perf(library): redraw only the rows whose cover changed
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.
2026-11-21 21:59:11 +07:00
zarzet 7ac57ea618 feat(automix): choose how often songs are mixed on their beats
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.
2026-11-21 21:20:02 +07:00
zarzet 1e21929dfe fix(playback): play on through an album or playlist from a local tap
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.
2026-11-21 17:50:38 +07:00
zarzet 96d77562ee feat(track): re-download one song and copy its title from track details
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".
2026-11-21 15:13:46 +07:00
zarzet bd1c25abbc feat(library): set one cover for every selected song in Set common values
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.
2026-11-21 15:08:08 +07:00
zarzet 373ed3e25f feat(queue): copy and album actions for downloads and desktop library songs
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.
2026-11-21 15:08:08 +07:00
zarzet be5a3bd4ae feat(selection): slide a held finger over songs to select them
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.
2026-11-21 02:50:39 +07:00
zarzet 99eba8115a fix(menu): join the quality picker and discography options into a group
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.
2026-11-21 01:59:30 +07:00
zarzet a6370f2f03 fix(menu): draw the Material song menu as one connected group
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.
2026-11-21 01:59:30 +07:00
zarzet cc9e7ab363 fix(loading): draw Material song skeletons as the connected filled rows
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.
2026-11-21 01:59:30 +07:00
zarzet c7521f8307 fix(menu): close the Material song menu with a pull down
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.
2026-11-21 01:59:30 +07:00
zarzet d3249b3827 feat(material): bring the list forward as a rounded sheet under collection headers
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.
2026-11-21 01:53:18 +07:00
zarzet 9b0ef32cf6 fix(theme): show the app font in titles, tabs, snackbars and custom buttons
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.
2026-11-21 01:26:32 +07:00
zarzet 4544948762 fix(library): show a song's own artwork when its web cover cannot load
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.
2026-11-20 21:35:36 +07:00
zarzet d55798addb feat(player): offer the whole cover in the full screen style
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.
2026-11-20 21:05:58 +07:00
zarzet 272b821db0 feat(library): add a Simple audio quality label
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.
2026-11-20 20:46:35 +07:00
zarzet 0bc4b68064 feat(player): choose how far up a full screen cover its fade reaches
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.
2026-11-20 20:16:46 +07:00
zarzet 758d7c7744 fix(mornye): remove the thin line where a full screen cover ends
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.
2026-11-20 20:16:46 +07:00
zarzet 50b8d09955 fix(material): line up controls beside a run's title with the row controls
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.
2026-11-20 03:06:44 +07:00
zarzet d0690e033e fix(material): give connected song lists room under headers and titles
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.
2026-11-20 03:01:04 +07:00
zarzet d994d71453 feat(search): join album, artist and playlist results like the song results
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.
2026-11-20 02:43:26 +07:00
zarzet 4aca000784 feat(material): join the song rows of albums and playlists like the Library
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.
2026-11-20 02:31:55 +07:00
zarzet fa983e39a4 fix(menu): keep a Material menu's groups on one surface
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.
2026-11-20 02:31:55 +07:00
zarzet d5d5ee8484 fix(library): give song and folder rows the fill of the other connected lists
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.
2026-11-20 01:55:15 +07:00
zarzet ec87f36561 feat(authenticity): draw the checked songs on one chart, a color per song
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.
2026-11-19 15:28:12 +07:00
zarzet 384f7eeef0 fix(settings): give every row of a mixed group its own connected surface
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.
2026-11-19 15:17:43 +07:00
zarzet aa9072a9bf fix(lists): keep a dragged row under the finger when the interface is scaled
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.
2026-11-19 01:28:27 +07:00
zarzet f05bec0440 fix(desktop): do not crash while the window moves between screens
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
2026-11-18 21:48:21 +07:00
zarzet c42659a123 feat(player): end still covers in a soft blur and one colour on Mornye
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.
2026-11-18 21:44:59 +07:00
zarzet 208bd75696 feat(usb): resample a song whose rate the DAC refuses
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.
2026-11-18 01:00:13 +07:00
zarzet f51427bc48 fix(motion): keep the badge bump's height at every Animation speed
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.
2026-11-17 21:33:30 +07:00
zarzet a55069fc1f feat(appearance): add an Animation speed setting
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.
2026-11-17 21:21:15 +07:00
zarzet d2584e5be8 fix(desktop): give the audio device back when the app quits
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.
2026-11-17 19:29:47 +07:00
zarzet 6b5b2ddc71 fix(settings): join priority and network connection rows into one list
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.
2026-11-17 18:04:09 +07:00
zarzet f7a16cc24d fix(library): join mix and search song rows into one connected list
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.
2026-11-17 17:56:39 +07:00
zarzet 975139e32c fix(metadata): work out the cover's colours before track details opens
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.
2026-11-17 14:19:22 +07:00
zarzet 920b380309 fix(metadata): read a song's own cover before opening its details
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.
2026-11-17 14:13:37 +07:00