Commit Graph
1123 Commits
Author SHA1 Message Date
zarzet 334db07283 fix(player): give the phone navigation bar the cover scheme
The Material mini player took the playing cover's scheme while the
navigation bar under it kept the app's, so the bottom chrome changed
color halfway down. The bar, its indicator and the shared backdrop now
take the same artwork scheme as the mini player, and return to the app
scheme when nothing with readable artwork is playing. Only this scope
listens to the track, so a cover change does not rebuild the shell.
2026-10-23 23:14:38 +07:00
zarzet 3ab9956a75 chore(screens): drop write-only private widget data fields
_RewindMessage.background and _FilterContentData.historyItems were stored
but never read.
2026-10-23 23:08:48 +07:00
zarzet 24c8b76215 refactor(search): loop the collection result sections
The artist, album and playlist sections and their missing-source guards
differed only in data, so one loop and one guard helper replace the copies.
2026-10-23 23:00:46 +07:00
zarzet 2f6e19eb57 perf(mornye): skip the backdrop pass for the extension overview glass
The overview card scrolls over the plain page background, where sampling
the backdrop only filters a flat color.
2026-10-23 23:00:46 +07:00
zarzet c22df6c5f5 refactor(extensions): share the feature row and priority link widgets
The hook and quality rows differed only in icons, extra lines and pill
colors, and the three priority links only in their kind.
2026-10-23 23:00:46 +07:00
zarzet 0be275a3b1 chore: remove unread extension manifest model fields
The health check, hook, setting and track matching fields were parsed from
backend JSON but never read, and quality options only need a settings count.
2026-10-23 23:00:46 +07:00
zarzet c7503d9f0f perf(mornye): skip the backdrop read on plain-page glass
The Library search fields, the Install extension panel and the band count and
theme mode pickers sit on a flat page or an opaque group card, so filtering
that backdrop costs a read for an identical result. They now keep the tint and
rim like the Home and Settings fields.
2026-10-23 22:52:33 +07:00
zarzet 4707feeaa3 refactor(library): share the collection selection bar toggle
Album, playlist and artist pages each rebuilt the same select all toggle
around SelectionBottomBar; SelectionModeMixin.buildSelectionBar now does it
once. The Library selection bar's mobile delete reuses
DestructiveSelectionButton with its own label.
2026-10-23 22:49:09 +07:00
zarzet cdb250c4ed refactor(library): share the album and playlist header action row
Album and playlist headers each spelled out the same love, download and add
to playlist buttons for desktop, Mornye and Material. CollectionHeaderActions
builds them once; the per-page icons, tonal download and callbacks are
parameters.
2026-10-23 22:49:09 +07:00
zarzet 04277f40bd perf(pages): rebuild only the toolbar title when it flips
The collapsing title flip used setState, rebuilding the whole album,
playlist, artist or track metadata page mid-scroll. The mixin now keeps the
flag in a ValueNotifier that these headers listen to; screens that still read
the bool keep the page rebuild.
2026-10-23 22:49:09 +07:00
zarzet 4c80fe39df style(settings): keep the song.link regions as a const list
The packed split string saved only formatter-forced data lines and broke
the const, one-literal-per-code style used elsewhere. showAppConfirmDialog
also asserts that message and content are not both passed.
2026-10-23 22:45:10 +07:00
zarzet 101740d87b refactor(settings): move download, metadata and files pages to shared helpers
The pages now use settingsSectionSlivers, showAppChoiceSheet and
showAppConfirmDialog, the settings page and the download picker share one
quality label function, and the picker's service chip builds its icon once.
The song.link region codes are one split string instead of 183 lines.
2026-10-23 22:45:10 +07:00
zarzet a397cf0d74 refactor(ffmpeg): call the FFmpeg modules directly
FFmpegService only forwarded each call to FFmpegProbe, FFmpegMetadata,
FFmpegConversion, FFmpegDecryption or FFmpegReplayGain with identical
defaults, so callers now use those modules and the test-only markers move
to the owning statics.
2026-10-23 22:44:37 +07:00
zarzet dfa5e0d994 perf(library): reuse the prepared page data across rebuilds
Each Library rebuild combined every loaded page, filtered playlist tracks
and regrouped the in-memory History snapshot up to three times, so the
section cache never hit and every row's month was formatted again. The
results are now memoized per input identity, with identical output.
2026-10-23 22:31:44 +07:00
zarzet 64d5e66d46 refactor(library): build songs, singles and collection cells once
The Songs and Singles pages wrote the same grid, table, sectioned and list
layouts twice, and the completion-bridge, special collection and playlist
drop-target cells were written once per grid and list. One builder now
serves each pair with the same widget trees.
2026-10-23 22:31:44 +07:00
zarzet ba59251f82 refactor(library): remove the unreachable Mornye page chip row
QueueTab returns MornyeLibraryScreen for the Mornye root Library, and the
page switcher renders only on that root, so its Mornye chip branch and
_FilterChip could never build.
2026-10-23 22:31:43 +07:00
zarzet 424311bf37 perf(mornye): compose standalone glass lenses into one backdrop read
A lens outside any batch took two backdrop reads (a stock blur, then the
shader). Each one now takes a batch key of its own, so the package composes
blur and refraction into one read, as overlays and the bar already did. The
home filter chips never overlap and share one read for the whole row.
2026-10-23 22:23:56 +07:00
zarzet 56c1a27ea4 refactor(mornye): drop unused filter chip glass options
Every MornyeFilterChip caller passed glass: false, so the glass branch and
its blurEnabled option were dead. The chip is now a plain StatelessWidget.
2026-10-23 22:23:56 +07:00
zarzet f200a9383c perf(mornye): shade the player from the cover source colour only
The player background, its actions menu and the lyrics share card read only
the source colour, yet waited for one or two colour schemes during the
player's open slide. They now use the source colour path with the same final
colour.
2026-10-23 19:21:28 +07:00
zarzet b768b860c3 perf(mornye): rebuild layout slivers only when their layout value changes
SliverLayoutBuilder passes the full SliverConstraints, which change with the
scroll offset, so library and Explore grids, album, artist and desktop
toolbars, and the extension overview rebuilt on every scroll frame. A small
SliverLayoutInfoBuilder rebuilds only when the width or collapsed flag it
selects changes; the header back buttons are built once, and headers can take
a title listenable so a title flip rebuilds only the title.
2026-10-23 19:17:00 +07:00
zarzet 3821048d87 feat(settings): request local network access with the LAN toggle
Android 17 blocks LAN sockets without ACCESS_LOCAL_NETWORK, so enabling
Allow Local Network Access did not reach local servers used by
extensions. Turning the setting on now asks for the permission when it
is not granted yet.
2026-10-23 18:51:50 +07:00
zarzet 69407ccb31 feat(extensions): allow a network permission for any domain
Extensions that talk to self-hosted servers cannot know the host when the
manifest is written. A "*" entry in permissions.network now admits every
host, while HTTP still requires allowHttp and private or local addresses
still require the app's local network setting.

The extension detail page names the "*" grant and the HTTP grant instead
of showing them as ordinary domains.
2026-10-23 18:51:49 +07:00
zarzet 5f2a4dae14 fix(desktop): list full screen and borderless shortcuts
The window mode commands added their shortcuts to the menu bar but not
to the Keyboard Shortcuts page, so the page no longer listed every bound
key.
2026-10-23 15:39:44 +07:00
zarzet 61b840c6e6 fix(home): keep explore artwork square
Explore cards pad 6 points on each side, but their artwork and its
loading skeleton were sized to the full card. The width shrank to fit
while the height did not, so covers came out 12 points taller than
wide and artist circles turned into ovals, most visible in the flat
skeleton. Size the artwork to the space inside the padding and take
the same 12 points off the section height.
2026-10-23 15:07:56 +07:00
zarzet 56f62efc48 fix(library): keep playlists accessible without local songs 2026-10-23 04:53:51 +07:00
zarzet e31df404ea feat(library): sort songs and albums by file size 2026-10-23 03:59:29 +07:00
zarzet 6ab91b4599 feat(desktop): add fullscreen and borderless window modes 2026-10-23 03:53:18 +07:00
zarzet 30a5c82f0f feat(library): list the files a scan could not read
A finished scan only reported how many files it skipped. The Rust
scanner and the Android SAF scan now record the first 100 failed files
with the reader's reason and include them in the finished progress
report.

Library settings show the count under each folder, and its actions
open a sheet listing each file, its folder and the reason. The list is
kept per folder across restarts, cleared by a clean scan and removed
with the folder. Network folders keep only the count.

Validation: provider, model and Rust scan tests, and the full Flutter
suite on a clean tree with only this series applied.
2026-10-23 03:50:05 +07:00
zarzet 44a7fad0b9 feat(downloads): add custom folder path templates 2026-10-23 03:17:10 +07:00
zarzet fa2f73160b feat(network): add Subsonic and OpenSubsonic support 2026-10-23 03:15:19 +07:00
zarzet f4a14c4693 fix(desktop): keep artist album selection and scroll position
Add modifier clicks, keyboard selection and an explicit Select Albums context action. Keep selection controls separate from temporary menu highlights and preserve shelf scroll state when the Mornye featured album hides. Cover both styles, Windows and macOS modifiers, and touch selection.
2026-10-23 02:48:16 +07:00
zarzet a0acbc1fe2 refactor(onboarding): remove the rebrand introduction tour 2026-10-22 23:53:39 +07:00
zarzet 711e6c6950 fix(repo): move the store button under the text on narrow rows
On a phone the Install, Installed or Update button sat beside the text
and, in long languages or with large text, squeezed the extension name
to one letter per line (issue #694). Store rows now put the button
under the description while the text column is under 360 logical
pixels, scaled with the text size, and keep it beside the text on
wider rows. The choice follows the row width, so every row of the list
lays out alike. The loading skeleton follows the same layout, and the
installed extensions list keeps its switches beside the text.
2026-10-22 23:30:06 +07:00
zarzet 104b8a8491 chore(license): adopt LGPL-3.0-only for Mornye 2026-10-22 23:11:09 +07:00
zarzet 374664322e fix(settings): keep final controls clear of floating playback bars 2026-10-22 23:10:05 +07:00
zarzet a1e0e8f053 fix(home): collapse the empty prompt after installing an extension 2026-10-22 23:10:05 +07:00
zarzet bcd81cc8d4 fix(library): emphasize Play in collection header actions
Place the wide Play action between tonal Download All and Shuffle icon buttons. Keep the download count in its tooltip and verify action order in right-to-left layouts.
2026-10-22 21:23:03 +07:00
zarzet 91a7f0b6b6 fix(desktop): wrap search and store category filters
Wrap filters onto additional rows on desktop so every category remains reachable with a mouse. Preserve horizontal filter scrolling on phones and tablets.
2026-10-22 19:45:56 +07:00
zarzet 26acc7238e fix(desktop): add scroll arrows to artist and recent shelves
Use the shared hover arrows for artist album sections and recent search cards so mouse users can reach the rest of each shelf. Keep touch scrolling on phones and tablets, and cover artist shelf paging in a widget test.
2026-10-22 19:45:44 +07:00
zarzet b83335371e fix(desktop): handle missing initial download folders 2026-10-22 19:12:21 +07:00
zarzet 45339bf467 feat(metadata): split the track details into two columns on wide screens
Once the content is 960 wide, the tags and file facts sit beside the
lyrics, audio analysis and Hi-Res check instead of one long column of
stretched rows, and wide windows allow up to 1280 of content. Narrower
windows and phones keep the single column. The saved spectrogram is
named after the track.
2026-10-22 15:31:45 +07:00
zarzet c7f00883b2 fix(home): keep feed layout stable during extension startup
Treat extension discovery and the first home feed response as loading states. Keep the feed skeleton in place until content or a terminal fallback is available.

Validated with 39 Home, country selection and cache tests; targeted analyzer and formatting checks pass.
2026-10-22 15:22:19 +07:00
zarzet 950bfa8023 chore(settings): use null-aware subtitle element 2026-10-22 02:43:17 +07:00
zarzet d0dd3792f9 feat(macos): add floating mini player with lyrics 2026-10-22 01:53:32 +07:00
zarzet 11a9b9a4ec chore: remove redundant comments across the codebase 2026-10-22 01:41:09 +07:00
zarzet 4afe2d7f3b fix(desktop): steady pull to refresh on macOS and add Cmd+R
On macOS the expressive refresh indicator ignored a trackpad pull that
started while it was still refreshing or closing. The list then bounced
past its top edge like a plain scroll, and under the pinned large header
that showed as the title staying put above an empty gap. Pushing a pull
back before letting go also scrolled the list by the whole push, since
the indicator and the list both took it.

AppRefreshIndicator now stops a macOS list at its top edge instead of
bouncing, and while a pull is under way a push back only shrinks the
indicator; the list scrolls once the pull is gone.

Pages that refresh also answer the new Refresh command: Cmd/Ctrl+R and
View > Refresh run the indicator of the page on screen. The Mornye
Library uses AppRefreshIndicator so the command reaches it too.
2026-10-22 01:09:35 +07:00
zarzet 44a5cd7153 fix: keep the album page on top when Go to Album names it
Go to Album always pushed a new album page, so choosing it from a track
on the album already shown stacked a second copy of the same page.

Album pages now record which album their route shows. The shared push
helper skips the push when the page on top already shows that album; it
still dismisses a modal such as Now Playing first. An album without a
provider matches the same id from any provider, since a track's source
can name the provider the page resolved on its own.
2026-10-22 00:44:56 +07:00
zarzet 69961c245a Merge branch 'material/now-playing-lists' 2026-10-21 23:45:40 +07:00
zarzet 6e137fcc24 feat(material): mark the current track in catalog and search lists
Online album, playlist and Library folder rows (phone tiles and the
desktop table) and Library search song rows now show the current track
the way Library and album rows do: a primaryContainer fill, the
equalizer glyph, and on phones the pill shape. Search and folder play
buttons pause and resume the current track instead of restarting it.
Mornye rows are unchanged.

Rows now match the player by the file they play rather than by media id
alone. Every queued item carries its file as its source, while its id
depends on where the queue started (a download row, a Library row, or
the path itself from a playlist). Library rows, downloaded and local
album rows and both tables compare files when both sides know one, so
a local track queued from a playlist marks the local album table too,
and an id another source happens to share never marks a row.

Catalog rows have no file of their own. The current item's download or
Library record is resolved once per track change, and a catalog row
matches on that record's id, on equal ISRCs, or on its catalog id
together with the same title and artist. A catalog id alone, or a title
and artist alone, never marks a row, and rows stay unmarked while the
record resolves.

The desktop songs table takes each row's playback provider instead of
a media id.
2026-10-21 23:45:09 +07:00
zarzet 483aa5f50f feat(material): give desktop album and artist headers the artwork scheme
The phone album header already colors itself from its cover, but the
Material desktop header kept the app scheme, so album, playlist, folder
and artist pages on desktop lost the artwork accent the design rules ask
for.

The desktop detail header now scopes the cover scheme (the artist image
on artist pages) to the artwork and details beside it through
PlayerArtworkTheme, the helper the player surfaces already use, and
publishes it as the HeaderPalette. A cached cover shows its scheme from
the first frame, a new one moves the whole scheme at once on the effects
spring (or in one step under reduced motion), and black and white covers
get the neutral scheme. The toolbar, track rows and the rest of the page
keep the app scheme. The subtitle and artist actions are now built under
that scope so they read the header colors. Mornye is unchanged.
2026-10-21 23:40:38 +07:00