Material's Playback settings gain "Compact player" (off by default). In
portrait, lyrics left idle while playing shrink the player to a smaller
one instead of hiding it: a one-line title and artist with a queue
button, the seek timeline, and the compact expressive transport with the
elapsed and total times beside it. It unfolds in the same spring as the
full controls fold, so the lyrics take the room they leave.
Touches on the compact player (skip, seek, play-pause, the queue button,
a swipe up for the queue) keep it compact; a touch elsewhere brings the
full player back, as before. The queue stays reachable while the app
bar's buttons are faded.
The next song used to load only after the current one ended, which
left a short silence between songs. With Gapless playback on (the
default), the player loads the next song on a second deck 30 seconds
before the end and starts it the moment the current one completes.
The decks gain setNextDeck. The Android fork links its players with
MediaPlayer.setNextMediaPlayer, so the platform starts the next song
itself; the Darwin fork resumes the linked player first thing in its
end-of-item handler, prerolled when linked. libmpv decks cannot hand
over their output, so on Windows and Linux the loaded deck starts on
the completion event.
AutoMix replaces gapless playback while on, and repeat one, USB
bit-perfect and exclusive output keep the ordinary transition. A queue,
shuffle, repeat or settings change, a pause, a stop or Previous drops
the prepared song; a seek keeps it. Playback settings gain the switch,
which the settings search finds as well.
Capped at the M3 search bar's 720dp, the field stopped partway across a
full screen window and looked cut off under shelves that run to the edge.
It now spans the pane inside the same 24dp margin.
Home centered at the 1280dp reading width on desktop, but its shelves
still scrolled to the window's right edge and the featured cards ignored
the centering, so a full screen window cut the shelves on one side only.
Material desktop Home now spans the pane with M3's 24dp window margin:
the title, search, greeting and every shelf start at that margin and the
shelves scroll to the edge. The search field stops at the M3 search bar
width of 720dp. Tablets and Mornye keep their centering.
Translate the current song's synced lyrics into a chosen language with
the user's own API key. OpenAI, OpenRouter, any OpenAI-compatible server,
Gemini and Claude are supported, with a model list, a connection test and
an optional extra instruction.
- Keys live in secure storage per provider, never in the settings JSON.
- Translations are cached apart from the lyrics, keyed by the lyric text,
target language, provider and model; lyric files are never rewritten.
- Repeated lines go once, timing tags are stripped, malformed batches are
retried then split, and missing lines stay untranslated.
- Errors map to localized messages; rate limits wait out a short
Retry-After.
- The player and desktop lyrics menus pick the language and show
progress; automatic translation is off by default.
Add a Song analysis switch under Autoplay, an Android-only "Only while
charging" switch, and a row that shows how many Library songs are
analyzed, with a progress bar while analysis runs, and clears the
analysis after a confirmation. Song analysis is searchable in
Settings.
Allow sideways dismissal while paused, prepare full-screen artwork before opening, and keep its gradient during Hero transitions. Add a saved landscape lyrics layout that keeps the cover fixed while the adjacent pane switches between playback controls and lyrics.
Validation: 285 Flutter tests, analyzer, formatter checks, and git diff --check.
Add a desktop "exclusive output" option that takes the output device for
the music player alone, bypassing the system mixer. It always plays
through libmpv:
- Windows: WASAPI exclusive mode, with ao-reload when the option changes
mid-track.
- macOS: AVPlayer cannot play while the app holds Core Audio hog mode, so
macOS bundles libmpv (media_kit_libs_macos_audio, through CocoaPods)
and ExclusiveOutputDeck moves the player from AVPlayer to a libmpv deck
with audio-exclusive while the option is on, reopening a playing track
where it was. Turning it off disposes that deck, releasing the device.
- Linux: an ALSA hw: device opened directly, chosen from /proc/asound or
the first card.
A refused or busy device reopens the track in shared mode at the same
position and the settings page reports it. AutoMix and previews stay off
while the option is on.
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.
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.
Playback queries LyricTimelineIndex; the linear activeLyricIndices only served
as a test oracle. Scenario tests now exercise the production index directly.
Return-only switch statements in the conversion, MIME, error type,
logger and model helpers become switch expressions with the same
cases and defaults, and the log summary switch drops redundant breaks.
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.
Material desktop pages kept the phone metrics: 48dp touch rows, 56dp
row artwork, 16dp settings row padding, a 120dp collapsing header, and
lists stretched across the whole window. The selection bar was the
phone sheet with its drag handle, tap hint and two-line pill grid.
Register AppTokens.desktop for Material on desktop (M3 density -2 for
rows, row artwork and the page header; radii, motion and the 48dp
control target unchanged), lower the Material songs table row to 44dp,
and center Material lists past 1280pt (the M3 large window class plus
the rail) while Mornye keeps Music's full-width pane. The desktop
selection toolbar drops the handle and tap hint, lays its actions in a
wrapping row of 40dp buttons, and keeps the destructive action at its
own width.
Desktop track and album lists now load with placeholder rows that use the
track table's columns, row height and quality column, so content does not
jump when it arrives. The track table geometry and the artist discography
tile size move to shared helpers that the placeholders reuse.
"Find lyrics online" in the editor's lyrics section opens a sheet that
asks every enabled provider, extensions included, and lists each
answer in priority order with its timing and a preview. The chosen
lyrics fill the field and are saved with the other edits.
The backend gains getLyricsFromProvider, which asks one enabled
provider directly without the cache or the priority race, and
getEnabledLyricsProviders, wired for desktop, Android and iOS.
Provider display names move to a shared helper.
Desktop pages now run across the content pane and center only past
1600pt, so Home, Library, Repo and detail pages share their edges. Repo's
search field spans the page like the others, and Mornye's Home leaves the
profile to the sidebar's account row.
- mornye:// URLs arrive through app_links and go to the backend callback
inbox (queueExtensionCallbackUrl); extension auth opens the system
browser on desktop.
- Single instance: a named mutex plus app_links WM_COPYDATA forwarding on
Windows (with the installer's AppUserModelID), a unique GApplication
forwarding its command line on Linux; macOS handles reopen itself.
- The download queue holds a sleep inhibitor from start until it stops.
- Discord Rich Presence runs on desktop through a channel adapter over the
backend IPC methods, without an account link.
- Library folder changes trigger a debounced incremental source scan.
- Desktop rotating log files, a session marker that turns an unclean exit
into the existing crash report, and runtime errors recorded for it.
Native backup and library jobs received 'ios' on desktop. Send the
desktop OS name so the backend applies no mobile path handling, and
describe desktop hosts in log exports.
Initialize flutter_local_notifications for macOS, Linux and Windows
(AUMID com.zarz.mornye with a stable GUID) and post result notifications
on desktop; live progress stays in the window. Open files through
url_launcher, skip audio_session, and use the login keychain on macOS.
Windows and Linux open databases through sqflite_common_ffi with the
bundled SQLite; macOS keeps sqflite_darwin. Desktop databases live in
the application support directory. Downloads default to <Music>/Mornye,
and setup and the Files settings pick plain folders without permission,
SAF or bookmark steps.
Add isDesktopPlatform. Desktop windows skip the tablet UI scaler,
Windows and Linux use Material's clamping scroll with scrollbars while
macOS keeps the bounce, and a first launch without a stored style
starts in Mornye on macOS and Material on Windows and Linux. Mobile
behavior is unchanged.
Rename the Dart package, Android and iOS identifiers, Rust crates, native libraries, and Discord plugin. Preserve legacy data readers and compatibility aliases.
Update localized branding, documentation, artwork, build tooling, and release artifacts. Route Telegram release notifications to @mornyeupdates and link @mornyecommunity.
Reduce repeated artwork readbacks, lyric layout and subscriptions, and animation rebuilds. Virtualize Library sections and Settings search, bound artwork decoding, batch queue restoration, and honor reduced motion.
Add shared player benchmarks with 60/90/120 Hz budgets and regression coverage for lifecycle, scrolling, and accessibility. Verified with 337 host tests, six Android profile suites, scoped analysis, formatting, and diff checks.
Downloaded tracks were played with their online cover URL, and artwork
recovery skipped any http(s) cover. Offline, with no cached copy, the
player, mini player and Home showed a placeholder although the file
embeds its cover.
Extract the embedded cover for local and SAF files when the known art is
remote or missing, keeping the online cover only when the file has none.
Fixes#683
Volume normalization levels tracks to the -18 LUFS ReplayGain
reference with no way to aim lower or keep album dynamics. Add a
pre-amp from -15 to +6 dB, shown with its resulting target loudness
(-7 dB targets -25 LUFS), and a Track or Album gain mode that falls
back to the other tag when one is missing.
The cache now keeps both gains per file, so changing either setting
re-levels the playing track without reading tags again. Volume stays
capped at the source level, so a positive pre-amp cannot clip, and
downloaded tags keep the standard -18 LUFS reference for other
players.
Serialize scan notifications and surface failures even when database error persistence fails. Recover interrupted scans independently of auto-scan, retain their checkpoints, and collect matching Android process-exit details on restart.
The lyrics card and the rewind slide both rendered a RepaintBoundary to a
temp PNG. captureBoundaryToPngFile does that; pixel ratio, file name, frame
waiting and share parameters stay with each caller.
Three screens repeated the pick, parse and store sequence. The helper keeps
each site's call order; the SAF migration prompt skips the storage mode
switch as before.
Search bucketing, refresh policy, folder data, history snapshot and the
selection and collapsing-header mixins hold no widgets, so they move to
controllers; the settings search catalog is pure presentation metadata and
moves to utils. Files with many importers keep a re-export in screens.
library_database_models and ffmpeg_models are plain data types, so they live in
models (re-exports stay at the old paths). deleted_library_files uses providers
and download_progress uses provider state, so both move to providers, and
ffmpeg_reenrich is a service. models no longer import from services for these.
Batch actions, clickable metadata, playback, auth launcher, action forms and
the glass warmup drive UI flows, so they belong with the controllers. Files
with more than three importers (or an importer that must stay untouched) keep
a one-line re-export at the old path.
Add fnv1a32 in hash_utils.dart for the scan output name (UTF-8 bytes) and
qualityVariantStagingLabel (UTF-16 code units). Unit tests pin outputs
computed from the original inline code.
ExtensionAlbumScreen, ExtensionPlaylistScreen and ExtensionArtistScreen and
their exclusive helpers lived in home_tab_widgets.dart, a part of the home tab
library. They now live in extension_collection_screens.dart, re-exported from
home_tab.dart so existing importers keep working. artist_screen.dart and
clickable_metadata.dart import the new library directly instead of home_tab.
The log buffer polls the native backend, so isFromGo, the Go log polling
methods and their private state now use native names. Comments that still
described the backend as Go are reworded. No string literals changed.
Delete Dart members that have no reference in lib, test or integration_test:
unused player configuration helpers and event streams, two PlatformBridge
wrappers, database and export helpers, the unused global logger and the
now pointless 'hide log' imports.
Without a feed, the Material Home now greets in its header with a
prompt picked once per launch, keeps import and paste out of the
resting search field, and fills the page with Continue listening,
player shortcuts, Recently added tracks from the whole Library and the
most played tracks of the last four weeks.