The app reported favorite artists as ids it computed with a looser
normalization than the catalog, so some never matched. getStarred now
sends artist names and the server maps them with its own rule; unstar
matches favorites by name as well.
Phones find Mornye on a computer over mDNS (bonsoir, _mornye._tcp),
pair with its 6-digit PIN and keep a live session with the chosen
desktop.
- Pinned HTTPS: first contact records the presented certificate and
checks it against info and the mDNS fingerprint; later requests and
the WebSocket accept only that SHA-256.
- Pairing posts the PIN proof, maps bad_proof, pairing_closed and 429
to clear errors, saves a Subsonic API-key network connection, adds it
to Library and scans it. Re-pairing replaces the key in place.
- LinkClientSession: Bearer JSON get/post with timeouts and
LinkException mapping, WebSocket hello/welcome, backoff from 1 s
doubling to 30 s, pause in the background, reconnect when discovery
sees the desktop again, address updates when it moves.
- LinkClientController publishes the active session through
linkActiveClientProvider and rescans on catalog.changed.
- Settings entry "Mornye on your computer" on Android and iOS with
nearby and paired computers, PIN and manual address dialogs, forget,
and local network permission, Wi-Fi and certificate warnings.
- iOS NSBonjourServices and the Android multicast permission.
registerLinkSyncHandlers answers the collections and history endpoints
and the Subsonic playlist, star, getStarred and scrobble ops on the
desktop, and announces changes through linkCollectionsChangedHookProvider.
linkSyncRunnerProvider keeps the phone in sync on connect, on
collections.changed and after local edits, with per-server cursors.
Collections schema v3 adds link_sync_state and link_sync_changes with
SQLite triggers on every collection table, so Dart, native publication
and restore writes are all recorded, one coalesced row per key with
tombstones. Existing rows are seeded on upgrade. Native jobs keep
reading and staging v2 copies of the collection tables.
Listening statistics v2 adds per-author running totals with a stable
(origin, day, track key) id. Stores page changes by cursor and apply
peer changes by last writer wins without echoing them as local.
An invalidated keystore made reading or deleting the retired secret
throw and block settings from loading. The cleanup now logs the error
and continues without touching the other stored credentials.
Library shuffle pages through the queue Library query, so it plays
downloads as well as enabled scanned sources. It starts on a random
song with shuffle on and keeps the Library order underneath, so
turning shuffle off returns to it. The unused getAll query is gone.
When a shuffled queue wraps under repeat all, the next pass opens with
a random queued song other than the one that just finished and plays
in a new order, instead of looping the same order. AutoMix into the
wrap prepares that opener and starts the reshuffled pass.
The Library toolbar's connected button group moves to a shared
ToolButtonGroup, and Material search results use it for Sort and the
list or grid tool. Mornye keeps its text Sort and icon buttons.
Desktop and short landscape windows shortened the page header, so the
large title ran into the back button. Pages with a back button keep the
full 120dp header; tab roots keep the shorter one.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
The current-row equalizer and the Material seek wave ticked every vsync for
the whole listening session, forcing full-scene rasterization at the display
rate. Both now advance from one shared 30 Hz phase clock that runs only while
a phase is running, with the same waves, loop lengths and pause rules.
Without a profile name the sidebar account row showed "Set up your
profile", which the narrow sidebar cut off mid-word in longer languages:
Russian read as "Настройте сво…", which a user took for an unknown
abbreviation. The row now shows the short Profile title, which fits in
every language, while screen readers still hear the full invitation.
The duplicate review and extension uninstall dialogs read the error color
from the dialog's own theme, so it followed a theme change while open.
errorConfirm keeps that, and the one-time migration test is dropped.
playLocalLibraryQueue and playHistoryQueue ran the same filter, start index
and player-mode branch; they now go through playMediaQueue, which makes
MusicPlayerController.playLocal and playHistory unused. playLocalPath also
loses its never-passed track parameter.
Thirteen hand-written cancel/confirm dialogs in the batch actions, track
metadata, setup, statistics, extension and queue selection code now use the
shared helper with the same flags and styles. Every caller only acted on a
true result, so the helper's false-on-dismiss keeps their behavior.
Store rows moved their button under the description whenever the text
column was under 360 logical pixels, which put it below on every phone.
The row now measures the widest store button in the current language
and text size and keeps it beside the text unless it would leave the
title under 140 logical pixels. English phones get the side-by-side
layout back, while long labels such as Russian still stack (issue #694).
Rows and the loading skeleton share the width, so a list lays out alike.
Screens colored a row's subtitle and track number from the app scheme,
outside the row, so the current track's artwork fill could hide them: a
black and white cover fills the row with a light container in dark
themes, where onSurfaceVariant nearly vanishes. TrackCard now gives
uncolored leading and subtitle text the row's supporting color, which
follows a filled row's content color, and re-roots the trailing
controls' content roles onto the fill. The library, album, playlist,
folder and search rows leave their text uncolored or read it inside the
row; badges keep their own surfaces.
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.
MusicPlayerController.play/pause/stop, PreviewPlayerState.progress, the
manual extension cleanup, setUseExtensionProviders and the repo store's
unused category list, clearError and write-only fields have no caller.
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.
The ShaderMask rendered the artwork offscreen on every raster frame, at video
rate for motion artwork. Painting the animated background gradient over the
artwork with the inverse fade as alpha composites the same pixels within
8-bit rounding; only the tilted gradient of the lyrics transition still
uses a small layer.
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.
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.
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.