Commit Graph
3672 Commits
Author SHA1 Message Date
zarzet a985ea0e87 feat(desktop): expand the Material rail and list playlists in it
Wide windows now open with the rail expanded. A menu button on top and
the sidebar shortcut toggle it, and the choice is kept across launches.
Collapsed, the rail shows icons alone, named by tooltips. Expanded, its
pills span the rail, and a Playlists section (All Playlists and the
user's playlists) fills the space under the destinations. Library
returns to the Library root while a playlist is open.
2026-10-25 00:26:10 +07:00
zarzet 1158d0881b feat(player): group Material shuffle and repeat and start-align the title
The Material phone player moves shuffle and repeat out of the transport
into a connected two-segment group in the footer, between the lyrics
toggle and the output button. The selected segment fills its own shape
with primaryContainer, and the pressed one widens. Without them the
transport spans the timeline. The title, artist and lyrics now start at
the leading edge, as in Mornye; a duet's second voice keeps the end.

Selected mode buttons take the content colour of their fill, so the icon
stays legible on light neutral cover schemes.
2026-10-25 00:26:10 +07:00
zarzet 1b348511e3 fix(library): keep playlist songs visible in Songs and Singles
Playlist membership no longer removes tracks from library pages while their counts still include them. Keep the cached page content independent of playlist membership.

Verified with 43 library tests covering both styles, mobile and desktop layouts, list and grid views, and switching from Mornye to Material. Related to #726.
2026-10-25 00:04:21 +07:00
zarzet c489960b44 feat(player): let the Now Playing menu hide the volume slider
The phone Now Playing menu gains Hide volume and Show volume in both
styles, saved as the playerShowVolume setting. Mornye drops the slider in
portrait and landscape and moves the transport into its place; Material
keeps the gap above the footer. Desktop keeps its volume controls.
2026-10-24 23:10:27 +07:00
zarzet b26af322b4 chore(desktop): build macOS FFmpeg with Opus 1.6.1 and NASM 3.02 2026-10-24 12:12:27 +07:00
zarzet fdc94673e1 chore(android): update Gradle to 9.8.2 and android-junit5 to 2.0.2 2026-10-24 12:12:27 +07:00
zarzet 420bd14111 chore(flutter): update packages and refresh the iOS pod lock
open_filex 5 ships a Swift package, so it leaves the Podfile lock; the
lock also picks up the current Podfile and podspec checksums. dbus and
connectivity_plus stay on dbus 0.7 because desktop_drop 0.8.4 still
needs it, and desktop_drop stays below 0.9 while share_plus needs
cross_file 0.3.
2026-10-24 12:12:27 +07:00
zarzet c55f513a77 chore(rust): update toolchain, Tokio, scraper and lockfile dependencies
Rust 1.99.1, Tokio 1.54.1, zip 9.0.5, libc 0.2.191 and
rustls-native-certs 0.8.5. scraper 0.29 moves to html5ever 0.40, so
the parser pin follows it. The Unicode 15 table pins and the vendored
rustix, cap-std and libusb1-sys sources stay as they are.
2026-10-24 12:12:27 +07:00
zarzet dddf992a45 chore: bump version to 5.3.0 (166) 2026-10-24 11:35:09 +07:00
zarzet 29ded7e46e perf(preview): resolve extension previews when they play
Extensions that require the new deferredPreview runtime feature return
mornye-preview:<extension>/<track> links instead of a sample URL. The
preview player resolves such a link through the extension's
resolvePreview function when the preview starts, so a search no longer
waits for one sample lookup per track.
2026-10-24 11:35:08 +07:00
zarzet 3fba270258 feat(search): keep the result rows by default and offer the grid as a view
Wide screens now open search results as the phone rows, as before the
cover layout landed. A list or grid button after Sort, like the Library's
view button, switches to the cover grids and shelves, and the choice is
kept in settings (searchViewMode). Phones never show the button.
2026-10-24 11:24:38 +07:00
zarzet 22a0bee300 fix(downloads): trust the audio bytes over a provider's FLAC label
A provider could label a download as FLAC while returning other bytes,
and the backend then wrote FLAC tags into them and failed with "fLaC
head incorrect" (Mornye-Desktop issue #6), ending the whole download.
The download probe now reads the container from the file itself: FLAC,
including behind an ID3v2 tag, MP4 or MP3. A FLAC label on MP4 or MP3
bytes yields to the bytes, so the file is published with its real
suffix and FLAC in MP4 is still remuxed by the app. Unrecognized bytes
behind a FLAC label, such as an error page, fail that provider with a
clear message so the next provider can try.
2026-10-24 10:47:45 +07:00
zarzet 6eaffa5942 test(search): cover the wide result layouts and pin the phone rows
The narrow suite compares what the Search tab paints on phones, a
landscape phone, a portrait tablet and a narrow desktop window, in both
styles, against fingerprints recorded on the previous layout. The wide
suite covers the cover grid (tap, cover saving, sort, keys, RTL), the
All view songs and shelves with their Show all controls, the desktop
song table activating like a phone row, and skeleton geometry.
2026-10-24 10:36:50 +07:00
zarzet 602e2d3c63 fix(search): leave room under result covers for the text line box
The two lines under a cover overflowed their cell by a fraction of a
pixel with fonts whose line box exceeds the nominal height.
2026-10-24 10:36:50 +07:00
zarzet 38dd71658e feat(search): show cover grids and shelves for search results on wide screens
Once the results are 840dp wide on a tablet or desktop window, the
album, artist and playlist filters show an adaptive grid of covers, and
the All view lists the first five songs, then one shelf per kind with
Show all switching to that filter. Songs use the desktop song table on
desktop and keep their rows elsewhere. Loading skeletons follow the
same geometry. Phones and narrow windows keep their rows unchanged.
2026-10-24 10:36:50 +07:00
zarzet 593662c39a feat(desktop): let the song table keep the preview and cover saving
Search songs move to TrackListTable on wide desktop windows. The table
can now show a dense preview button beside the title and save a row's
cover on a long press of its artwork, as the phone search rows do.
2026-10-24 10:36:50 +07:00
zarzet 05b6fa33e0 fix(stats): credit collaborators individually in listening history 2026-10-24 10:30:25 +07:00
zarzet 4bdd22d2e8 fix(android): preserve audio routing during player initialization
Preserve the system audio mode and speakerphone route when only player settings change. Apply explicit global routing changes using the incoming context instead of the previous defaults.

Verified with three native routing regression tests and 34 Dart player tests. The Android build and audioplayers lint checks pass. Related to #721.
2026-10-24 10:30:12 +07:00
zarzet 44cbb57b30 refactor: import moved files directly and remove the re-export shims
Eight one-line re-export files remained from an earlier move into controllers, models and providers. Every import now points at the real file, so the shims are deleted.
2026-10-24 03:27:23 +07:00
zarzet 415fb5b3ce refactor(repo): build the store category chips from a list
The six chips differed only in category and label; their icons now come
from the same category icon mapping the extension rows use.
2026-10-24 00:12:34 +07:00
zarzet 25d47ac61b chore: remove unused searchProviders and a write-only track index
ExtensionNotifier.searchProviders had no caller, and the search result row
never read the index it was given.
2026-10-24 00:12:34 +07:00
zarzet 084d010125 refactor: drop the unused LogBuffer.filter tag option
The log screen, its only caller, filters by level and search text only.
2026-10-24 00:12:34 +07:00
zarzet 72c3498fc1 refactor: drop the always-true AnimatedSelectionCheckbox visible flag
All five callers passed visible: true, so the scale wrapper only ever
held 1.0 and painted nothing of its own; the flag and the wrapper go.
2026-10-24 00:12:34 +07:00
zarzet 1947a33325 refactor: fix MotionHeaderBanner to cover and top center
No caller set fit or alignment, so the video always used the defaults;
the parameters go.
2026-10-24 00:12:34 +07:00
zarzet a2b93b5f79 refactor: drop the unused AppChoiceChip visualDensity
No caller passed it, and ChoiceChip and FilterChip already default to
null.
2026-10-24 00:12:34 +07:00
zarzet fff4e2e9e3 refactor: drop AppTextField options every caller left at default
textCapitalization, showCounter and enabled were never passed; the
underlying fields already default to the same values.
2026-10-24 00:12:34 +07:00
zarzet 3728418884 refactor: drop showAppBottomSheet flags no caller sets
No caller passed isScrollControlled, isDismissible, enableDrag or
showHandle, so the helper now uses their defaults directly.
2026-10-24 00:12:34 +07:00
zarzet 18ee77004d refactor: make ClickableArtistName single-line with ellipsis
All twelve callers passed maxLines: 1 and TextOverflow.ellipsis, so the
widget now applies them itself and the two parameters go.
2026-10-24 00:12:34 +07:00
zarzet 78f60e7576 refactor: push plain material pages through pushPage
Forty-two call sites spelled out Navigator.push with a MaterialPageRoute
around a builder; one helper next to pushViaPreferredNavigator keeps the
same route type and builder closure with fewer lines.
2026-10-24 00:12:34 +07:00
zarzet a155dc5c80 perf(shell): read the keyboard inset without a dependency on back press
The back handler read the insets through MediaQuery.viewInsetsOf on the
shell context, so the first back press at a tab root made keyboard frames
rebuild the shell again. It now shares the scroll observer's lookup.
2026-10-23 23:52:25 +07:00
zarzet f4cc5a6131 perf(shell): stop rebuilding the shell on every keyboard frame
The shell read the view insets in build, so each keyboard animation frame
rebuilt the tab navigators and the bottom bar and re-ran the service setup
in didChangeDependencies, including a method-channel call. The insets are
now read by the bottom bar and the scroll observer, and the setup reruns
only when the localizations or the locale change.
2026-10-23 23:52:25 +07:00
zarzet 22d73faa11 refactor(pages): drop the title flip rebuild opt-out from the header mixin
Every collapsing header screen now hands showTitleNotifier to its header,
so the setState path and its per-screen opt-outs are dead.
2026-10-23 23:45:04 +07:00
zarzet e3c7b3714b refactor(library): share the selection bar toggle in the library folder
The folder page builds its bar through SelectionModeMixin.buildSelectionBar
like the album and playlist pages, and builds its id list once per build.
2026-10-23 23:41:29 +07:00
zarzet 23c448da80 refactor(library): build the album selection bars with LibraryTrackSelectionBar
The downloaded and local album pages hand-built the same bar. A new
albumDelete flag keeps their full-width desktop delete and the downloaded
album delete labels, so the bars render as before.
2026-10-23 23:39:30 +07:00
zarzet 8d1a5f3de5 chore(library): drop the unread playlist id from the folder track tile
The tile never read it; the screen keeps its own playlist id.
2026-10-23 23:32:21 +07:00
zarzet 9a4fd4ccb7 perf(library): rebuild only the toolbar title when local collections flip it
The downloaded album, local album and library folder pages now hand the
mixin's title notifier to their header, so crossing the collapse threshold
no longer rebuilds the whole page mid-scroll. No importer of the screens
re-export of the mixin remains, so it is removed.
2026-10-23 23:31:31 +07:00
zarzet 913b0cc796 refactor(settings): resolve the library dialogs' error fill in the dialog
Library clear and remove folder built their error button style inside the
dialog before the migration; errorConfirm restores that.
2026-10-23 23:22:20 +07:00
zarzet 61be03eb70 test(settings): keep a page test for the choice sheets
The migration comparison test copied the old dialogs and sheets and pinned
nothing about the pages once merged. A shorter test opens the four choice
sheets from the library and lyrics pages and checks their options, icons,
selection and the saved setting in both styles.
2026-10-23 23:22:20 +07:00
zarzet cd4900f8a9 fix(settings): read the restore heading style inside the dialog
The heading's text style came from the page theme after the move to
showAppConfirmDialog; a Builder resolves it from the dialog again, as the
old dialog did.
2026-10-23 23:22:20 +07:00
zarzet 0a53c78dda test(settings): pump the cache page and check its rows
The rows now come from one builder; the test pins each row's icon, title,
size line and divider and the clear confirmation, and passes on the old
page too.
2026-10-23 23:22:20 +07:00
zarzet f8c56b1b36 test(settings): compare the migrated dialogs and sheets with the old ones
Each confirm dialog and choice sheet the settings pages used to write by
hand is rebuilt with its old flags and checked against the shared helper
call, in both styles.
2026-10-23 23:22:20 +07:00
zarzet 207c399b7e refactor(settings): build the cache rows from one helper
Every clear row repeated the same subtitle, trailing button and confirm
wiring, and four rows repeated the size label. One row builder and one
size label replace them; the two confirm dialogs share the shared helper
and the overview drops its unused path fields.
2026-10-23 23:22:20 +07:00
zarzet 3687e183e3 refactor(settings): use the shared section slivers and confirm dialog
The remaining settings pages and the concert set list build their header
and group pairs with settingsSectionSlivers and their yes/no dialogs with
showAppConfirmDialog. The about page also drops the unused translator
language field.
2026-10-23 23:22:20 +07:00
zarzet a25faea8a9 refactor(settings): move library and lyrics pages to shared sheets and dialogs
The library and lyrics pages now build their single-choice sheets with
showAppChoiceSheet and their confirm dialogs with showAppConfirmDialog, so
the private _AutoScanOption row and the write-only provider id go away.
2026-10-23 23:22:20 +07:00
zarzet b9358b8158 perf(mornye): resolve the cover colour when the mini player changes track
The Mornye full player shades itself from the cover's source colour, which
it only started resolving inside its opening slide. Starting the same job
when the mini player shows a track lets the player open on its final colour.
2026-10-23 23:22:10 +07:00
zarzet 6920d4b8c6 perf(material): move the mini player wave on the 30 Hz decorative clock
The package's wavy indicator derives its phase from a ticker that asks for a
frame on every display refresh while music plays. Painting the same indicator
from a DecorativePhase keeps its look and stops it while paused, hidden or in
the background.
2026-10-23 23:22:10 +07:00
zarzet 22276c3593 perf(mornye): stop the mini player marquee after two passes on liquid glass
Every marquee frame re-filters the glass chrome around the mini player, so
an overflowing title kept liquid devices drawing for the whole session. The
liquid level now rests after the same two passes as frosted and flat.
2026-10-23 23:22:10 +07:00
zarzet cbe0f64177 test(player): check the shared motion clock in now playing rows
With the 30 Hz clock no frame is pending between ticks, so frame scheduling no
longer shows whether the glyph moves. The tests now check whether the shared
decorative clock is running.
2026-10-23 23:22:02 +07:00
zarzet 197cc2a1a7 perf(player): hold decorative motion while the app draws no frames
A vsync ticker never advanced in the background, but the 30 Hz timer kept
waking the UI isolate while music played with the app hidden. The shared
clock now runs only while frames are enabled and resumes from the held phase.
2026-10-23 23:22:02 +07:00
zarzet 3686095ad8 perf(material): cache the full-screen cover blur at quarter resolution
The opt-in full-screen cover style re-ran a sigma 48 blur over the whole
screen on every frame while the seek wave moved. The surface, blurred cover
and tint are now drawn once per cover, size and surface colour into a
quarter-resolution image with the sigma scaled to match.
2026-10-23 23:22:02 +07:00