Commit Graph
4817 Commits
Author SHA1 Message Date
zarzet 5d24a76e85 build(l10n): generate only the shipped languages, compactly
flutter gen-l10n wrote a class for each of the 21 ARB files, and every
class repeated the English text of each message its language has not
translated. The app only offers the 13 languages of
supported_locales.dart.

scripts/gen_l10n.dart writes those 13 only. Each language class extends
the English one and overrides just the messages whose text differs, and
the bare es, pt and zh classes are left out where only a country
variant ships. For the 13 languages every message resolves to the same
text as before (compared across all 2989 messages).

Flutter no longer generates the files: l10n.yaml is gone and pubspec
sets generate: false, because a root l10n.yaml makes every build run
Flutter's own generator. Run `dart scripts/gen_l10n.dart` after ARB
changes and once in a new checkout; build_android.sh does it too. The
script also drops the records of earlier Flutter-generated outputs from
.dart_tool, which made the next build delete the files as stale.

locale_config.xml lists the same 13 languages for Android's per-app
language setting. The Arabic layout test brings its own delegate, as
the app ships no right-to-left language. build_android.sh also passes
MORNYE_MOBILE, which a later commit reads.
2026-11-22 00:14:03 +07:00
zarzet 58861aad8e test(player): switch Local Library on for the Resume card tests
Since cf68a7d94 the Resume card asks History and the Library whether
the saved song is a scanned one while Local Library is off, which is
the default. The two runtime tests read the card with default settings
and the real download History, which never opens in a unit test, so
both waited until the two minute timeout. Give their containers
settings with Local Library on; the filter has its own tests in
playback_session_restore_test.
2026-11-21 23:07:20 +07:00
zarzet afcaca40ed test(desktop): tap a settings category instead of the profile row
The fade test taps the first row that is not Appearance, which is the
profile row. The profile page now shows a loading indicator until its
listening overview has loaded, which never happens in this test, so
pumpAndSettle timed out in Material. Leave the profile row out: the
test is about moving between categories.
2026-11-21 23:07:20 +07:00
zarzet ad525ba4ba test(files): scroll to the folder template row on a phone
The Files settings list is built lazily. The folder cover and motion
cover rows added above it pushed the folder template row out of the
part a phone sized window builds, so ensureVisible found no element.
Scroll until the row exists instead.
2026-11-21 23:07:20 +07:00
zarzet 4004a76c23 test(metadata): read the cover checks from the header part
13a2d9c73 rebuilt the track details header and moved the cover code
from the cards part to the header part. The source check still read the
cards part and looked for the old one line cover helper. Read the
header part and match the call it makes now.
2026-11-21 23:07:20 +07:00
zarzet 1be4755ad7 test(native): skip the symlink statistics test without the library
The group of tests against the real backend library is skipped unless
the library path is set. Its symlink test passed "skip: false" on every
platform but Windows, which overrides the group and ran it without a
library. Pass null there so the group decides.
2026-11-21 23:07:20 +07:00
zarzet 5ac7b651f5 test(auto): initialize the binding for the browser cover test
The cover store names a fetched cover by its hash. Since ab7157aa0 the
hash goes over the backend channel first and falls back to Dart only on
a MissingPluginException. This file never initialized the test binding,
so the channel call threw another error, the fetch counted as failed
and the test met a null path.
2026-11-21 23:07:20 +07:00
zarzet bd01be76ef test(library): give the v14 upgrade fixture the columns it indexes
The rollback test builds a cut down version 14 Library table. The
upgrade to version 21 creates the album key and album artist indexes
again, and the fixture had neither column, so the retry failed with
"no such column: album_key". A real version 14 database has both since
version 7.
2026-11-21 23:07:20 +07:00
zarzet 866445926e test(library): give the History fixtures the origin file column
The Library hides a scanned song that a download already holds, and
since 6e07941b3 that check also reads history.origin_file_path. Five
test fixtures build the History table by hand without that column, so
every Library read in them failed with "no such column:
offline.origin_file_path". The CUE split fixture had no History table
at all and failed with "no such table: history_db.history".

Add the column to the search, paging, directory entries and Windows
path key fixtures, and a minimal History table to the CUE split test.
The file size test uses the paging fixture and passes again with it.
2026-11-21 23:07:20 +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 188e031c0c perf(playback): add queued songs in one step
Adding many songs to the queue inserted them one by one and renumbered
the play history after each. They now go in with one insert. The haptics
update returns early while haptics are off, and a media item gets its
playback instance when it is built instead of through a second copy.
2026-11-21 22:05:01 +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 fe8f8b5ec2 perf(link): listen to the collections only while a computer is attached
The sync runner and the watcher of kept collections listened to every
collections change for the app's lifetime. Both now listen only while a
client is set, the watcher also only while something is kept. A new
connection still starts a full pass. The cover of the song a computer
plays is looked up without blocking the UI thread.
2026-11-21 22:03:37 +07:00
zarzet 14a43d5c0d perf(android): parse scan progress off the main thread
The Library scan progress was parsed on the main thread on every poll,
also when nothing had changed. It is now compared and parsed on the IO
dispatcher. Closing a playback lease and asking a document's type before
opening or sharing it moved off the main thread as well.
2026-11-21 22:02:53 +07:00
zarzet 0ed85f6e60 perf(database): cheaper visible Library view and album statistics
The view of visible Library rows ran its Windows duplicate check and its
split CUE check for every row. One test per query now skips each check
when no such rows exist, and the duplicate check joins in a fixed order.
The view is recreated on open while it still has the old text. Listening
statistics get an index on the album name, and the temporary table of
downloaded Library files is renamed into place instead of being copied.
2026-11-21 22:02:09 +07:00
zarzet 949190fa53 perf(library): skip the full reload after a small edit
Saving the explicit or lyrics flag, reading a file's audio details and
changing an album cover each reloaded the lookup index and the scan
summary. None of them changes a song's name, ISRC or folder, so the
provider now only announces the change and the lists read their rows
again.
2026-11-21 22:01:25 +07:00
zarzet f072a3e7be perf(collections): add to a playlist without loading its songs
Adding songs to a playlist first read and decoded every song already in
it. A playlist that is not loaded now only gains the new keys and stays
unloaded: its songs are read when it is opened, and a load already under
way starts over because the keys changed. The loved keys and the keys of
all playlists are updated in place instead of being rebuilt from every
list. Playlist songs get an index on (playlist_id, added_at), the order
they are read in, in place of the index on playlist_id alone.
2026-11-21 22:00:40 +07:00
zarzet e01b1028cc perf(history): find downloads by id and by path through an index
Resolving a finished download and looking a file up by its path walked
the whole history and built the path keys of every entry each time. The
state now builds an id index and a path key index on first use, and
carries both over when a download is added.
2026-11-21 21:59:55 +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 8af763e539 perf(library): check song files in batches and remember the answers
Rows asked storage about one file at a time, and asked again each time a
row came back after its listener had been dropped. Requests made in the
same turn now go out together: document files 64 to a call, local files
eight at a time. Up to 5000 answers are kept. A found file is checked
again when its row returns after five minutes, so one deleted outside
the app does not stay playable for the session. A CUE track is checked
against its backing file, as the single check does.
2026-11-21 21:58:27 +07:00
zarzet 5c6fa36291 perf(startup): overlap launch work and defer the storage check
The desktop log setup and the Android install marker read now run beside
the preferences load. The access check of the saved download folder no
longer holds the first frame: the shell waits for it after that frame,
and asks again only when the check gave no answer (a timeout or a
channel error). The wait for wallpaper colours is skipped where no theme
uses them (Mornye, or dynamic colour off), the cover cache starts beside
the other services, and the settings reach the backend in parallel.

The Link source presence no longer creates the Library provider on the
first frame, and the playback notification reads the collections only
once there is a song. The storage migration prompt asks whether it was
shown before it asks for the device details. The Mornye bottom bar hears
only whether the keyboard is open, not every frame of its animation.
2026-11-21 21:57:41 +07:00
zarzet 5be1786d8a fix(link): keep a typed computer address instead of the one discovery finds
A computer paired by typing its address, for example a VPN address, lost
that address as soon as the phone saw the same computer on the local
network: discovery moved the saved record to the address found there
without checking that it answers. Discovery runs again whenever the app
comes back to the front, the network changes or the connection drops, so
the move happened some time after pairing. When the found address is
blocked by a firewall that lets the VPN through, or the phone later leaves
that network, the computer could not be reached any more, and restarting
either app did not help because the typed address was gone. Only removing
and pairing again brought it back (issue 945).

The record now remembers that its address was typed, and discovery leaves
such a record where it is. Seeing the computer on the network still makes
the phone try the typed address again at once. Pairing again keeps the
typed address; choosing the computer from the nearby list makes it follow
discovery as before. Records saved earlier were never marked and behave as
they did.
2026-11-21 21:34:08 +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 c2c30437ca fix(queue): import the extension name the waiting label uses
The queue row's "Waiting for <extension> verification..." label called a function its library did not import, so the queue page did not compile. The import is added, and the label gets a widget test, which it lacked: with an extension id in the marker and without one.
2026-11-21 15:11:44 +07:00
zarzet 0422895708 feat(import): read track links from a CSV and match rows more strictly
Issue 944: a CSV with a URL column imported nothing, because the importer only knew title, artist, ISRC and a few fixed id columns.

A column named URL, Link, Track URL or Track Link is now read, in the Rust parser and the Dart one. Each link goes to the extension that handles it, the way a pasted link does, so the song comes back with its own id, source and cover. A link to an album or a playlist adds all its songs, in the file's order. A row whose link no extension handles falls back to its ISRC, then to its title and artist. A bare track id from the fixed legacy id columns is tried as its link form first.

Matched rows now carry the provider's id and source, and its comment, preview and quality fields, so they download like songs added from search. Text matching is stricter: the title must agree, and the artist when the row has one; a partial match counts only as whole words of four letters or more, never for filler like "track" or "song". Rows that used to match loosely keep their own text instead.

For a link to one song or one album, the cover comes from the first metadata provider in the listener's priority order that has the exact ISRC, when that is another provider than the link's. A playlist keeps its own covers, since it would cost one search per song.

An empty or unreadable file now shows a message instead of nothing. The retry loop for links moved out of the track provider into a shared resolver that both use.
2026-11-21 15:08:09 +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 d3ab2724d8 feat(extensions): name the extension that asks for verification
A verification page gives no hint of which extension asked for it, and neither did the app around it.

While a download waits, its queue row now reads "Waiting for <extension> verification...", the notification that asks the listener back says which extension the verification is for, and the help dialog (browser did not open, or still waiting) has a "Requested by <extension>" line. The message for a missing verification page shows the extension's name where it showed its id.

The name is the one the extension shows in the app, with the id as the fallback for an extension the app does not know. The queue item keeps the asking extension's id in its waiting marker, after a colon, so the row can name it; a marker without one reads as before.
2026-11-21 14:46:57 +07:00
zarzet 8f313b7bce feat(lyrics): let the lock screen line take the artist's place
A listener suggested showing the track name with the line being sung under it, where the artist's name is, instead of the line replacing the title.

Lyrics settings gain a Keep the song title switch under Lyrics on lock screen, off by default and available while that one is on. With it the line goes out as the session's artist and the title stays; in a break, while paused or unlocked the artist is back, as the title was before. Switching it while a line shows moves the line at once.

The line still shows in the same parts as in the title, so nothing about its timing changes.
2026-11-21 12:36:12 +07:00
zarzet 7f93dd932a fix(cast): keep Android awake while the next song loads on the TV
The playback wake lock is released when a song ends, because the queue is
not playing until the next song starts. A local song starts within
milliseconds; a cast one needs the TV to fetch it from this device first,
which takes seconds and, with the screen off, ran without any wake lock.

Hold a 60 second wake lock from the moment the receiver reports the song
finished, and from each load. It expires by itself and is dropped with
the session.
2026-11-21 11:31:47 +07:00
zarzet 631abf83e1 fix(cast): load the next song after the TV finished one
Issue 942: a song cast to a Chromecast ended and the next one never
started.

Every song change stops the deck before it loads the next source. The
Cast deck sent Stop to the receiver for that, but a receiver that played
the song to its end has no media session left: Google's sender refuses
the request when it holds no media status, and the app's own sender
answers "Nothing is loaded on the TV". The error left the song change
before the load, so the queue stood still. A manual skip worked, because
the session was still alive then.

The deck now remembers that the receiver finished the loaded song and
sends it no Stop or Pause after that. A Stop the receiver still refuses
is logged instead of thrown: the load that follows replaces whatever it
plays. Play at the end of the queue went through the same Stop and works
again too.
2026-11-21 11:31:47 +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 7b33af22f1 fix(player): keep the last session when the system stops playback
A stop from the system arrives without arguments: the media card swiped
away in the notification shade, a dismissed playback notification, a stop
key from a headset or car, or a stop from the desktop media controls. It
ran the same path as a queue that has nothing left to play, which deletes
the saved session, so the next start showed no last played song and Home
offered nothing to continue.

Such a stop now archives the queue and position like closing the player
inside the app does, and Home offers Resume. The two callers that stop
because the queue has no playable song left ask for the old behaviour
explicitly.
2026-11-20 22:05:13 +07:00
zarzet 4106407945 feat(lyrics): shape, text size, alignment and Save for the lyrics card
A request asked for a way to change the width or size of the text on a shared lyrics card and to save the card.

Share lyrics now has two panes under the card: Lyrics, the lines to quote, and Style. Style holds the background swatches (moved from the bottom bar) and three choices:
- Shape: Story (1080x1920, as before), Square (1080x1080) and Wide (1920x1080). The wider shapes are what gives the lines more width. They drop the story's inner panel, and the wide card carries the app's mark beside the song.
- Text size: Small, Auto and Large, a scale on the size the card picks from the length of the quote.
- Alignment: at the side the lines read from, or centered.

A quote too tall for its card now takes smaller type, down to half, before the block is shrunk as a whole, so its lines keep the card's width.

The bar below has Save next to Share. Save opens the system's save dialog with the card as a PNG named after the song, so it needs no storage permission.

The last style used is kept for the next share, in its own preference rather than in the settings model.
2026-11-20 21:43:48 +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