Commit Graph
984 Commits
Author SHA1 Message Date
zarzet b6bdaf8db4 fix(album): start the description right under the sheet's round edge
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.
2026-11-22 22:52:05 +07:00
zarzet 4da1dd88f2 fix(motion): a transition that starts late plays whole
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.
2026-11-22 20:05:37 +07:00
zarzet b2c161d858 feat(player): Material player grows and shrinks as one solid surface
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.
2026-11-22 20:05:37 +07:00
zarzet 428e213f6a feat(player): turn External player into a download focus
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.
2026-11-22 18:25:42 +07:00
zarzet 2e5599466e perf(app): fewer rebuilds, repaints and preference writes
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.
2026-11-22 17:21:02 +07:00
zarzet d7fb178288 fix(menu): widen a Material menu to fit its longest label
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.
2026-11-22 17:21:02 +07:00
zarzet f168f5565f fix(lyrics): translation editor rows match the lyrics editor
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.
2026-11-22 17:21:02 +07:00
zarzet 3d9269947a feat(home): lead from the greeting straight into the sections
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.
2026-11-22 14:12:41 +07:00
zarzet 20e4a96b3b fix(metadata): fly the row's picture until the track details cover is decoded
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.
2026-11-22 04:01:57 +07:00
zarzet 6ddd0639d1 feat(home): point at the Search tab from where the search field was
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.
2026-11-22 03:41:35 +07:00
zarzet 4cd416b799 fix(lyrics): own menu icon for Edit translation
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.
2026-11-22 03:34:12 +07:00
re-code a550b31073 feat(lyrics): edit and add translations by hand 2026-11-22 03:34:12 +07:00
zarzet 5694a9a188 fix(preview): read a preview link again when it no longer plays
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.
2026-11-22 03:22:23 +07:00
zarzet b8aff389cd feat(sheets): connected option rows on every Material sheet
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.
2026-11-22 03:22:23 +07:00
zarzet cce7fd3c82 fix(lyrics): lyric line reads as sung, translation by its own setting
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.
2026-11-22 02:57:59 +07:00
zarzet bc17ab91cc fix(metadata): follow the Metadata Priority when opening an artist or album
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.
2026-11-22 02:29:46 +07:00
zarzet eaac5e9794 fix(sheets): size every sheet to its content
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.
2026-11-22 02:29:46 +07:00
zarzet 0af28302cf feat(library): delete from the desktop album selection bar
Desktop album pages offer Delete inline in the selection bar.
2026-11-22 02:14:38 +07:00
zarzet c44304c296 feat(lyrics): start-align plain lyrics
Unsynced lyrics read from the start edge like synced ones.
2026-11-22 02:14:38 +07:00
zarzet 0427834a91 fix(motion): snack bars, banners and lyrics follow Animation speed
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.
2026-11-22 02:14:38 +07:00
zarzet 44784372e3 style(material): solid container colors without outlines
Cards, badges and queue actions use solid container roles instead of outlines, translucent fills and custom radii.
2026-11-22 02:14:38 +07:00
zarzet 35139f1b51 fix(a11y): 11 pt text floor and full touch targets
Badges, spectrogram and compare labels no longer go below 11 pt, and small controls get 44/48 dp targets.
2026-11-22 02:14:38 +07:00
zarzet 4ed510ed4f fix(rtl): mirror navigation, sliders and rewind taps
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.
2026-11-22 02:14:38 +07:00
zarzet 23c86bee2f feat(settings): value headers and continuous sliders
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.
2026-11-22 02:14:38 +07:00
zarzet 105a331015 fix(mornye): no Liquid Glass on content surfaces
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.
2026-11-22 02:14:38 +07:00
zarzet 0a21b07bb5 feat(mornye): Cupertino buttons, menus and activity indicator
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.
2026-11-22 02:14:38 +07:00
zarzet 5fadb285d9 feat(mornye): map more Material icons to Cupertino symbols
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.
2026-11-22 02:14:38 +07:00
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