_stopConnectivityMonitoring always cleared the Wi-Fi pause, LibraryDatabase.getAll
was never paged and MethodChannelBackend never received other event channels.
Duplicate entries, donation config, spectrogram, audio route, cover save,
share and redownload results carried fields that nothing reads; the
duplicate query no longer selects the unused album name.
UpdateInfo.publishedAt/isPrerelease, UpdateChecker.currentVersion,
BackupBundle.isEmpty, LocalLibraryItem.matchKey and two unused desktop
debug setters are never read.
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.
Production removes wishlist, loved, playlist and playlist-track entries through
the batch paths. Device benchmarks now use the production one-item calls as
their per-track baseline.
Backup restore goes through restoreFromBackupOperation with the native or
upsertBatch codec, so the streamed replaceAll path was only reached by tests.
The iOS restore test now drives the production operation with a seeded fake.
Collections live in SQLite and backup restore feeds the raw maps to the
database, so nothing parses the old JSON shape; the picker summary dates
were also never read.
Production reads playlist tracks through loadPlaylistTracksSnapshot and the
test fake keeps its own row helper, so the visibleForTesting wrapper had no caller.
Incremental upserts and full source replacement created, filled and merged
their temp stage with the same code. One set of helpers now does it, with the
source replacement delete still first inside the merge transaction.
The single-row and batch upserts, replaceAll, the replaceSourceStream
wrapper, delete, getAllFilePaths and searchFtsTable have no callers in lib,
test or integration_test; scans use the staged ingestion paths instead.
Track and album sort modes differ only in the name and key columns, and the
History shadowing anti-join, page query and count summing were written out
several times. The pinned SQL test shows the generated statements and
arguments are unchanged apart from whitespace.
Fire-and-forget calls, cast results, decoded results and event stream
accessors now go through small async helpers, so each wrapper is one
expression with the same channel names, payloads, casts and decoders.
Keep the media service foreground while paused, release CPU wake locks on pause, and demote the service on stop. Await native state publication before requesting audio focus, honor focus denial, and apply the initial MediaPlayer wake mode.
Validated with 141 playback tests and an Android 17 screen-off pause, resume, and stop integration test.
findExisting, updateAudioMetadata, getAllFilePaths, the notifier's sync
getBySpotifyId/getByIsrc and restoreFromBackup had no callers; production
restore goes through restoreFromBackupOperation.
History and Library migrations repeated the same add-column, backfill and
first-row query boilerplate. The helpers issue the same statements in the
same order, and a new v1 upgrade test pins the resulting history schema.
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.
Beat detection normalizes onsets against nearby energy, so a fade, a
loud fill or a quieter verse no longer dominates the pulse, and refines
the tempo in 0.01 BPM steps. The Dart and native analyzers stay in step.
An uncertain grid is retried on nearby windows and only accepted when
tempo and phase agree at both edges of the transition.
A beat-matched start now checks that the incoming deck actually landed
on the outgoing beat. When it cannot be verified, the mix falls back to
an unstretched crossfade instead of a misaligned stretch. During the
overlap, a phase lock makes small, bounded rate corrections from spaced
position samples and stops correcting when those samples are unreliable.
A measured but uncertain pulse gets a bass handoff without any tempo
change, and speed effects skip beat matching.
Apply the existing source-error classification during preparation so recoverable FFmpeg diagnostics do not reject playable audio. Fatal source errors still fail the load.
Validation: 15 player unit tests and two native libmpv tests on macOS passed, including repeated playback and seek with an invalid ID3 BOM.
A beat matched mix cued the next song on its first beat, but the start
timer, platform calls and decoder startup delayed it by an unknown
amount, so its beats rarely landed on the outgoing beats and the mix
sounded like a plain crossfade. At 150 BPM, 100 ms is a quarter beat.
Once the silent next song is playing, measure both decks and seek it to
where the outgoing beat grid puts it, retrying up to three times and
leading each retry by the lag the previous seek left behind. A deck
that stops advancing keeps the current song, as before.
Refs mornyeapp/Mornye#696
Flush remote writes before checking upload size. When path metadata reports a different size, verify file length and streamed content before publishing, preserving cancellation and corruption checks. Include expected and reported sizes in failures.
The default .m4a (ipod) muxer rejects FLAC, so tag and cover writes on
FLAC-in-MP4 files failed, and the MOV retry could not carry FLAC either.
Always mux with mp4 (experimental compliance for older FFmpeg builds),
and retry with mov only when MP4 rejects the codec, keeping the original
error otherwise.
SQLite reads "" as an identifier. The sqlite3 build Windows and Linux
bundle disables the legacy fallback that treats it as a string, so
startup history maintenance and orphan cleanup failed there with
'no such column'. macOS uses the system SQLite and hid the bug.
Show all only asked for the Library tab, which in Mornye reopens the
page it showed last, such as Songs. Mornye now opens its Downloads
sidebar page through a new library link request; Material keeps the
Library tab.
The runtime only bound DiscordPresenceService on Android and iOS, so the
desktop IPC client never received a track and Rich Presence never showed
on Windows, macOS or Linux.
The Android DSD/WavPack reader built its library row without scannedAt.
Since the native staging validates required fields (d1de8331), one such
file failed the whole import with "Library scan row requires string
scannedAt", so a library containing a .dsf, .dff or .wv file could not
be scanned at all.
Stamp that row in Kotlin and fill a missing scannedAt during native
staging. A row that still cannot be encoded is counted, reported through
invalid_rows, invalid_row_error and invalid_row_paths, and skipped; the
owner logs it and protects the file's previous entry during publication,
as it does for a platform read error, instead of discarding the scan.
"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.
The release workflow now ships phone builds in Mornye and desktop
packages in Mornye-Desktop, each with its own notes and SHA256SUMS.txt.
Desktop releases stay drafts until the DESKTOP_RELEASES_PUBLIC
repository variable is 'true'.
Desktop update checks read the new repository, and a release list
cached from the main repository is not reused. The Windows installer
links its updates page there too.
A leftover session marker alone means a force quit, kill or power loss, so it
is now logged instead of shown as a crash; SIGTERM quits cleanly. Release
builds on macOS hand over to an already running copy of the app.
Windows and Linux now create a libmpv deck through media_kit; macOS,
Android and iOS keep audioplayers. Without libmpv the runtime falls back
to audioplayers.
- The equalizer becomes one libavfilter graph behind mpv's lavfi filter
(input gain, peaking bands, balance, compressor, -0.5 dBFS limiter)
after a planar float conversion. Changes set the af property again.
Filters a libmpv build lacks are probed once and left out; the input
gain then moves to mpv's volume. Filter failures are reported per player.
- Deck volume is scaled by the in-app output volume on mpv's cubic curve,
position updates run on a timer, DSD sources throw when libmpv cannot
open them, and exclusive output has a hook for a later setting.
- The in-app output volume persists across launches on every desktop OS.
- Previews go through the runtime's preview deck, so desktop previews
follow the in-app volume.
- Linux publishes MPRIS over D-Bus and Windows uses SMTC through
smtc_windows, both driven by the audio handler.
- The Linux CI job installs libmpv-dev.
supportsCoreBackend and supportsExtensionSystem now include desktop, so
extensions, native data jobs, cache maintenance, backups and library
ingestion use the Rust library there. Download and library scan progress
use the native event streams, cover downloads let the backend create the
file in its own folder, and extension initialization drains a callback
URL queued at launch, as on Android.