Incremental scans now reread songs whose cached cover file is gone, so a
cleared cache no longer needs a full rescan. They also reread every song
without a cover once, so songs scanned before folder images were read
can pick one up.
Find Missing Artwork in Library settings looks up albums without a cover
through the enabled metadata extensions, in their priority order, and in
Mornye can also save animated covers for every album. Matches need the
album artist and title; another edition counts only when the song count
and year agree. Found covers are cached thumbnails that never touch the
music files. They are applied after every scan, come back from their
saved address after the cache is cleared, and are not looked up again
for 30 days. An album page can look its album up on demand or remove
what was found, which stays away until it is looked up again.
Animated covers saved for one artist are shared with the other song
artists of the album through aliases instead of a second download.
The lyrics move to the next line on a timer when it starts. A position
report that arrived just after, a little behind the line's start, made
the full lyrics view and the lyric line under the title step back to
the previous line for a moment before moving on again. Link playback,
whose reports arrive with network delay, showed it most, and only now
and then.
While playback advances, a report less than 750 ms behind the shown
line keeps it. A seek further back still moves at once.
Deleting songs from the app left their album and artist folders behind,
so people had to clean them up with a file manager. The song's own .lrc
and .mlrc files stayed too, which kept those folders from being empty.
Deleting a song now also deletes its .lrc and .mlrc files, unless
another song in the folder has the same name. Settings > Files >
Existing Files gains Remove Empty Folders, on by default: once a song is
gone, the folders it leaves empty are removed, up to but never including
the download folder or a Local Library folder, and never a storage,
volume or home folder or a folder right inside one, such as Music or
Download. A folder still counts as empty when it only holds system index
files, Mornye's cover.mp4 or lyrics files of songs that are gone.
Folders are removed while the download queue is idle, so a download
never loses the folder it writes into.
Every place that deletes a song from the library goes through this:
the library and album screens, song details, Duplicate Review and
Mornye Link. Android storage access folders work through two new
platform calls that find a song's folders before it is deleted and list
a folder. Network songs and CUE tracks are only deleted, as before.
The Store tab badge stayed at zero until the tab was opened, because
only the tab loaded the store. The shell now checks the store after
startup (once extensions are ready) and again on returning to the
foreground when the last check is older than six hours. Nothing runs
without a saved registry URL, and failures are only logged.
A new App setting, on by default, then updates every installed and
enabled extension whose store update this app version can run. Updates
go one at a time through the store's serialized path, wait for the
download queue to be idle, keep the old version on failure without
retrying that version this session, and end with one short notice.
Background failures stay off the Store and Extensions screens.
Follow-up to the lyric line under the track title (PR #847).
- The setting is off by default; Lyrics settings and settings search turn
it on, with localized English and Indonesian strings.
- Opening the player no longer probes unresolved SAF documents for the
line. It shows once playback publishes the resolved source, as before.
- The line follows audio_service's extrapolated position, the playback
speed and the lyrics timing offset, like the desktop mini player. The
timer targets the next line's start with the 80 ms lead applied, so it
no longer fires zero-delay timers before each line, and it stops while
paused, buffering, seeking or offstage.
- With the setting off nothing subscribes to playback.
- A translated line shows as plain text; word timing applies only to the
original line.
- Text uses the theme's body style, the chevron mirrors in right-to-left
layouts, alignment is directional and reduced motion skips the fade.
- The line reads as one Lyrics button to screen readers.
- Drops the unrelated Android lint opt-out and .gitignore entry, and uses
generic test data. New tests cover the default, the offset, timing,
seeking, and the player waiting for a resolved source.
Smoothness reports such as issue #841 depend on whether the engine runs
Impeller or Skia and on the Mornye glass level, and neither showed in
copied or shared logs. The export now has a Rendering block with the
renderer (told apart by shader filter support) and the glass level.
Home's explore sizing read the whole pane size from its state, so every
resize, rail-expand and inspector frame rebuilt the full Home tree. On
desktop the card scale is now the constant it always clamps to, the
height cap and the empty state read MediaQuery.heightOf, and Material
desktop decides tablet type sizes by height alone (its pane is always
wider than 600). Library's cover size takes its desktop constant, and
wideListInset depends on width only.
Material PageView pages now sit in the hidden-tab MediaQuery that Mornye's
LazyTabView already used (exported as HiddenTabMediaQuery), so kept-alive
hidden tabs keep their last size until they show again.
Under reduced motion Flutter's NavigationRail ran its 200 ms extend
animation; a rail per state now snaps to its width.
Autoplay now remembers which songs it played or suggested, across
restarts, as hashed fingerprints only (no paths, URLs or metadata),
so related songs rotate instead of repeating. A new Autoplay
randomness slider in Playback settings decides how strictly: at the
lowest value repeats return least recent first, higher values widen
the pool and reduce score bias. It works with or without
personalized autoplay, whose description now says that turning it
off stops only preference learning.
An opt-in setting replaces the song title in the system media
controls with the current synced lyric line. Only the OS sees it:
the wrapper sits under the media session filter, so Last.fm,
Discord, widgets and Link keep the real title.
Lyrics come from the file and its .mlrc sidecar, never online.
Breaks of 3 s or more show the title, and the title changes at
most twice a second. Android shows lines only while the keyguard
is up and the screen is on; iOS cannot tell, so it shows them
while Mornye is in the background and restates the position first
so Now Playing does not jump back.
Smart Dither only adds dither when lowering bit depth, but it always used
plain TPDF. A new Use TPDF HP switch makes it use high-pass TPDF instead,
in the convert sheet (shown while Smart is selected) and for automatic
FLAC conversion of downloads (under Smart Dither, saved as
autoConvertSmartDitherHighPass). The native Android finalizer, the
Dart FFmpeg path and Mornye Link conversions all honor it; Link sends it
as ditherHighPass, which older desktops ignore. The switch is off by
default, so existing conversions do not change.
The explicit Triangular HP option is now labelled TPDF HP, next to TPDF.
Last.fm was limited to desktop although its listening, queue and browser
approval do not depend on the platform. Playback settings, the settings
search and the player runtime now offer it on phones too, and the Android
and iOS release builds receive the Last.fm credentials.
Phones get a smoother connection. It finishes by itself when the app
comes back from the browser, and the waiting request is kept in secure
storage, so connecting still completes after the system ended the app
while the browser was open. Finish connecting remains the fallback.
The iOS session is readable after the first unlock, so playback that
starts the app in the background while the phone is locked still
scrobbles. Listening time is now counted with a timer only while a song
plays instead of every second while scrobbling is on.
An opt-in Files setting copies a download's animated cover into its
album folder as cover.mp4, so file managers and other players find it.
Only folders that hold one album get it: the folder is planned again
with a marked album name, and flat, artist, playlist and shared Singles
folders are skipped, as is a song kept in a folder other than the
planned one. An existing cover.mp4 is never replaced, for local files,
Android folder access and network storage alike; songs of one album
that finish together write it once.
The player, mini player and album headers now show a cover.mp4 found
beside a local song before the artwork saved for the album. Android
documents are found through a new findSafSibling call and copied into
app storage once per version, since the video player only opens files.
A saved AI translation kept only its line text, so the word-synced
translation went back to line sync once the AI cache was gone. It now
travels with the lyrics as an [x-translation-words:<ms>:<base64 JSON>]
tag, the same JSON as [x-romaji-words].
- Both lyrics parsers read the new tag, keep it only when its words spell
the line's translation, and move it with the file's offset. The native
parser sends translationWords only for lines that have it, so the shared
goldens stay as they were; a new golden covers the tag.
- Saving into the song file or a .mlrc file writes it, a new translation
drops timing kept for the old one, and the lyrics editor moves it with
its line like pronunciation timing.
- A shown translation whose timing the file lacks counts as unsaved, so
the save action and automatic saving add it.
- Older versions drop the tag as an unknown x- ID tag.
Startup maintenance removed a download from History, and so from the
Library, when its file looked missing on two launches. Dart's
File.exists() also answers false for a permission error and for a drive,
card or share that is not mounted, so downloads on an unplugged drive,
an ejected SD card, a sleeping NAS, or an Android phone without media
access were dropped in batches of 80 per launch while the files stayed
on disk.
Orphan checks now use storedFileState: a file counts as gone only when
the OS reports it absent and the nearest existing folder above it is not
a mount container (filesystem or drive root, /Volumes, /media, /mnt,
/storage). Permission errors stay unknown, and on Android a missing file
in shared storage stays unknown while the app has no media access.
Library cleanup gets the same storage check through fileExistenceByPath.
Enhanced LRC can close a word before the space that follows it, as in
<00:01.00>First<00:01.50> <00:02.00>second. Both parsers treated that
space only as an end time and dropped it, so word-synced lines lost the
gaps between words.
Append the separator to the previous word in the Dart and Rust parsers,
and keep the first closing timestamp when more than one follows.
Top Picks follow the day's mixes with random playlists from an extension's
home feed, read once a day even with the feed off. Recently Played replaces
the Continue listening card. A phone's content URI now counts as absent on a
computer instead of failing the whole shelf.
Wide Mornye search now opens as Music does: Top Results cards, then Artists,
Albums, Songs and Playlists, with chevron headers and covers sized to the
pane. Artists go by name alone. Loading placeholders match.
The desktop search field and scope control shrink to 36pt, with the toolbar
at 60pt. Material search stays as it was.
Track menus in both styles and the desktop context menu offer Copy
<service> link when the track id names its service: a service prefix or
URL, a Spotify id, a source that is itself a service name, or a known
Deezer id. Extension ids say nothing about their catalog, so other tracks
show no link. Mornye's Share includes the link too.
The metadata screen's Open in service button now builds its links from
the same helper.
Closesmornyeapp/Mornye-Desktop#18.
Library Actions gains Find Moved Downloads. It relinks History entries
whose files now sit in the current download folder under the same
subfolders and name, or were converted next to the old file, and reports
how many are still missing. It never deletes anything.
Contributed by Keven Chantre in #809. Fixes#770.
Adds a lyrics editor for the playing track (issue #801). It opens from the
lyrics options button (now also shown over plain lyrics) and from a Write
lyrics action when a track has none: a full-height sheet on phones, a
720dp editor dialog on desktop.
Each line has its time, which plays from there, and an editable text.
Set time gives the selected line the current position and moves to the
next one, so a song can be synced while it plays; -0.1 and +0.1 nudge the
selected line. Lines can be inserted, deleted or cleared of their time
from a row menu, also on right click.
The editor edits the raw LRC, so tags, singer prefixes, backing vocals,
translations and enhanced word timing survive a save; word timing moves
with its line and is dropped from a line whose text changes. An [offset:]
tag is applied to the times. Saving embeds the lyrics in the original
file through the existing player lyrics persistence and shows them at
once. Streams, TTML and network songs that are not SMB or WebDAV stay
read-only.
On Windows the desktop scanner resolves folders with fs::canonicalize,
so scanned songs are stored as `\\?\C:\...` (or `\\?\UNC\server\...`)
while downloads keep `C:\...`. Path match keys did not relate the two
spellings, so with the download folder added as a Library folder:
- every downloaded song was listed twice (the scanned row was never
shadowed by its download), and
- Review Duplicates paired each download with its own scanned row, so
removing the "duplicate" deleted the only copy of the file.
Path match keys now also include the plain spelling of a verbatim path,
in Dart and in the native Rust copy. Rows already stored get the missing
keys once when the Library and History databases open on Windows; rows
that already have them cost one indexed probe. No schema version change.
Changing the folder organization or filename format only affected new
downloads. Add "Apply Rules to Existing Files" under Settings > Files >
Existing Downloads to move and rename tracks already on disk so they
match the current rules.
- Plan with the same path builders the download pipeline uses, then show
the number of moves, sample old -> new paths, and what is skipped
before anything changes
- Move audio files and their .lrc sidecars, update the history rows
(guarded by the expected old path), drop stale scanned-library rows and
prune emptied folders inside the download root
- Never overwrite: name collisions get a " (2)" suffix; a local move is
reverted if its history row changed meanwhile
- SAF folders: copy to the new location, then delete the original (no
native move yet)
- Skip files outside the current download folder and missing files;
refuse to run while downloads are active
- History has no playlist or release type: playlist-based folder rules
rename in place, and a track already in the Singles folder stays there
when its type is ambiguous
- Add English strings and a settings search entry
Tests: library_reorganizer_test.dart, library_reorganize_plan_test.dart
Authorize Last.fm accounts in the system browser and store sessions in OS secure storage. Add desktop Playback settings for scrobbling and Now Playing, including localized status and recovery controls.
Observe the local full player, measure actual listening time across pause and seek, distinguish repeats and transitions, and persist qualified listens before submitting account-scoped batches. Keep previews and remote Link sessions outside submission.
Validation: 281 Flutter tests passed, analyzer and pinned formatter clean, workflow lint passed, macOS debug build succeeded, and the signed Last.fm API handshake was verified. Build credentials are supplied locally or through Actions secrets.
Add FLAC auto-conversion with maximum bit depth and sample rate in foreground and Android background downloads. Preserve lower source rates, artwork, metadata and output quality.
Keep 48 kHz available for mixed-source batch conversion and add 160 kbps to manual, batch and automatic conversion.
Validation: 122 Flutter tests and 26 Android JVM tests passed. Analysis of lib and test passed.
buildLibraryAudioQualityLabel, the grid label and the badge highlight
constructed their RegExp objects on every call. The patterns are now
top-level finals with the same sources and flags.
The Dart VM already caches compiled patterns by source, so this only
saves the per-call cache lookup: on this Mac (AOT, best of six
interleaved runs) a 20,000-row label pass went from 24.9 to 23.6 ms in
bit-depth-only mode and from 25.3 to 23.9 ms in bit-depth mode. A
comparison of the old and new policy over 435,516 inputs (modes, stored
qualities, formats, paths, bitrates, bit depths, sample rates) found no
differing label.
The history sync wire format imported cover_store.dart, with
path_provider and the network storage service, for one loopback check.
The check is now isLoopbackHost in cover_art_utils.dart, which both
durableCoverReference and linkSyncRemoteArtwork use. Same results.
Listening statistics rows from older builds hold loopback URLs and
temporary files that no longer load, so the statistics screen, Home
and Rewind showed broken covers. Rows are read through one
ListeningTrack.fromRow, which reads those as no artwork, so the
fallback shows until the song plays again.
A play whose cover is not known yet no longer erases the stored cover
of that day, and a write never stores a loopback or temporary cover.
Artist artwork and Rewind album covers dropped network:// references
because normalizeCoverReference rejects them; they now read through
normalizeStoredCoverReference, which keeps them without changing what
other stores accept.
Audio over Bluetooth reaches the listener late, so synced lyrics ran
ahead of what was heard (#753). Lyrics settings gain Lyrics timing: a
slider from 2 s earlier to 2 s later in 0.1 s steps, saved on release,
with a reset.
The offset moves every line and word of the player's lyrics and the
desktop mini player's, so line focus, word sweeps and countdowns follow
it together. Tapping a line still seeks to where it is sung, and a
long-pressed line opens sharing with its own time.
Lyrics in Japanese, Korean, Chinese, Arabic and other non-Latin scripts
are hard to sing along to from a translation alone. When a song has
lines outside the Latin alphabet without a provider romanization, the
translation request also asks for one in each language's usual system
(Hepburn, Revised Romanization, Pinyin with tone marks, common
transliteration). It arrives in the same reply, is cached with the
translation and shows as the existing pronunciation line, which the
lyrics menu already hides or shows. Provider romanizations, which may
be word timed, are kept.
A saved translation from before is asked for again only when the
listener taps Translate. An "Add Romanization" switch in AI translation
settings, on by default, stops asking for it.
Providers return albums and releases in their own order, and later
pages were appended as they came. Every source (passed in, cached,
fetched and paged) is now sorted by release date, newest first; full
and partial dates compare correctly, ties keep the provider order and
undated releases go last.
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.