Saving metadata with a newly picked cover failed on iOS with "path is
outside the extension sandbox". The picked cover sits in a temporary
folder that the backend grants under its standardized spelling, without
/private, but the cover_path in the edit was passed through as picked.
editFileMetadata now normalizes an absolute cover_path with mediaPath(),
as the song path and the AC-4 writer already do.
Fixes#876.
Map setRepoRegistryUrls, resolveRepoRegistryUrl, getRepoCatalog and
downloadRepoExtension (with an optional registry_url) to the new native
repository API and drop the single-URL methods.
A Spatial audio switch in Playback settings, on by default, in the Audio
output group of both styles: after Skip silence on Android, after
exclusive output on macOS, and in its own Audio output group on iOS.
Windows and Linux have no row and no search entry. The app renders
nothing; the switch only tells the platform whether it may spatialize.
- media3: a new `setSpatialAudio` call maps to the audio attributes'
spatialization behavior (auto or never). It applies live: the sink
reopens its AudioTrack and drops its buffer, so native seeks to the
current position to decode that audio again instead of skipping it.
- Old Android engine: the fork takes `setSpatialAudio` on its player
channel (no platform interface change) and sets the behavior on API
32+ as each source loads, so a change applies from the next song. The
subtitle says so while the new engine is off.
- iOS and macOS: the Darwin fork sets allowedAudioSpatializationFormats
(iOS 14, macOS 11) to mono, stereo and multichannel or to none, on the
current item and every new one.
The subtitle ends with a live status line. Android reads the
Spatializer (available, enabled, head tracker, and canBeSpatialized for
stereo and 5.1) over a new event channel that re-reads on spatializer,
head tracker and device changes and on resume. iOS reports whether the
output port has spatial audio enabled, on route and spatial capability
changes. The line names the direct USB and AAudio paths and macOS
exclusive output, which never reach the system's spatial audio.
- iOS: a Swift plugin drives the Rust sender on the existing cast
channels. A silent mixable loop keeps the app serving audio while a
session is connected. Audio output now opens the same sheet as
Android, with AirPlay and Bluetooth opening the system route picker.
- Desktop: CastOutput talks to the Rust sender through the backend
channel. Material shows a Cast button in the player bar that gives
way after the volume slider in narrow windows; the Mornye capsule
puts Cast in its volume popover.
- iOS and desktop pick receivers in a new app sheet that looks for
devices while open and connects on tap.
- Android keeps Google's sender and dialog, and now serves media from
the Rust server. The Dart CastMediaServer is removed.
Supply GIT_COMMIT from Android Gradle and the iOS Flutter build phase so the existing About footer displays the revision without manual build flags. Preserve explicit defines and source archive builds.
Validation: 19 targeted tests passed, Android compiler define forwarding checked with automatic and explicit revisions, ShellCheck and Xcode project syntax checks passed, git diff --check clean.
While a paired computer plays, the iPhone publishes a NowPlaying
RemoteMediaSession through a new LinkNowPlaying ExtensionKit extension
instead of starting local audio for a Lock Screen card. The app sends
the track, position and volume over a method channel; the extension
reads the computer's state and sends its commands directly over the
pinned Link connection, so the card keeps working while the app
sleeps.
- Pairing credentials go to a Keychain item shared through the app
group. An install without the app group, and so without that
Keychain, carries them in the session attributes instead.
- A desktop catalog song's cover comes from the computer's
getCoverArt by song id. The app's own cover is a loopback proxy URL
that the extension cannot use.
- Errors returned to the system carry only their domain and code: a
URL error's details cannot cross XPC and aborted the extension.
Failures are logged to the device log without URLs or keys.
- CI and release builds move to Xcode 27 and check that the extension
is embedded.
On a test device the card appears, but its controls and cover do not
reach the computer yet; that is still being investigated.
Albums, singles and playlists, online and in the Library, end with
"Suggested songs": up to ten songs like the ones above that the collection
does not hold yet, each with a preview, an add button and a click or tap
that downloads it. On a user playlist the add button adds the song there
and it leaves the suggestions; elsewhere it opens the playlist picker.
Phones list the songs as rows, desktop in the page's song table.
Suggestions come from a new optional extension method, getRelatedTracks,
which extensions declare with the relatedTracks capability: it takes up to
three of the collection's songs and returns songs in the shape of search
results. The extension most seeds came from is preferred so it can use
their IDs. Without such an extension, the first metadata provider is
searched by the collection's artists. A refresh button starts from other
songs, and loaded suggestions stay for ten minutes.
A microphone button in the empty search field listens to the room and
names the song, on phones and desktop.
- The audio fingerprint and the Shazam request run in Rust behind a new
recognize_song data job, so every platform shares one path.
- Listening sends the audio so far at 4, 8 and 12 seconds and stops at
the first match; quiet or short clips are reported instead of sent.
- A match can be played from the library (by ISRC, then title and
artist), searched in Mornye, or opened in Shazam. Recent matches are
kept in a local history.
- Android asks for the microphone only when listening starts; iOS and
macOS gain the microphone usage description and entitlement. The Linux
package recommends pulseaudio-utils for capture.
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.
open_filex 5 ships a Swift package, so it leaves the Podfile lock; the
lock also picks up the current Podfile and podspec checksums. dbus and
connectivity_plus stay on dbus 0.7 because desktop_drop 0.8.4 still
needs it, and desktop_drop stays below 0.9 while share_plus needs
cross_file 0.3.
"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.
Add the Mornye brand kit and regenerate the Android and iOS launcher
icons on the Deep Teal background with a dedicated monochrome layer.
Replace the in-app logo assets, point the README banner at the new
lockup, and drop the old README banners. Download notifications now use
the monochrome mark, matching the playback notification.
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.
MainActivitySafIo and SafDownloadHandler each defined an identical
errorJson. Keep one internal top-level function in MainActivitySafIo
and drop the private copy. errorJson, isMediaStoreUri, extFromFileName
and extFromMimeType never used their MainActivity receiver, so they
become plain top-level functions; call sites are unchanged.
Rust is the only backend. Rename the iOS invokeGoMethod, which
dispatches the OS-owned channel methods, to invokeOsMethod, and reword
the comments that still described Go calls, the Go progress stream, the
Go metadata reader or a "native migration boundary" so they describe
the current backend. Channel method names and reply keys are unchanged.
RustCoreBackend.invokeApplication handled readFileMetadata,
editFileMetadata and cancelNativeDataJob, but MainActivity intercepts
all three first: the metadata methods are in nativeBackendMethods and
dispatchBackendApplication answers cancelNativeDataJob before it calls
invokeApplication. No Kotlin code calls invokeApplication with those
names.
Dart never sends these channel methods, so their handlers go on every
platform:
- shareMultipleContentUris (Android) and getAvailableLyricsProviders
(Android and iOS) have no Dart caller.
- scanLibraryFolderIncrementalFromSnapshot and
scanSafTreeIncrementalFromSnapshot are called only from the Dart host
branch of the library scan, which runs only when
supportsCoreBackend is false, that is never on Android or iOS. The
unreachable Dart wrappers are removed separately.
The allowlist and the when cases in MainActivity stay in sync (70
names). The UniFFI exports get_available_lyrics_providers_json and
scan_library_folder_incremental_from_snapshot were used only by the
removed handlers; the backend methods behind them stay.
Rust is the only backend, so several single-backend switches had become
constants and their other branches could never run:
- CoreBackend.supportsOutputDescriptors was always false. The
descriptor branch in SafDownloadHandler and its pfd/detachFd cleanup
never ran, and the Rust planner rejects output_fd anyway.
- routesApplication was always true on Android and iOS. Drop the member,
the "go" value of getBackendImplementations (the reply keys and the
"rust" value Dart receives are unchanged), the iOS routing guard and
the interface defaults that threw for unrouted methods.
- cleanupExtensions(), waitForDownloadProgressDelta and
scanCueForLibrary had no production caller. Dart reaches cleanup
through the cleanupExtensions channel method, and RustCoreBackend
overrides openDownloadProgress, so the polling default goes too.
The UniFFI exports DownloadState.wait_progress_delta and
ExtensionManager.scan_cue_file_for_library were used only by those
Kotlin overrides. Bindings are generated at build time by
scripts/build_rust_backend.sh; no generated binding is tracked.
Move full and incremental ingestion, source snapshots, path keys, and download exclusion to native transactions. Preserve schema 17, FTS, WAL coordination, cancellation, and Android SAF timestamp backfill.
Introduce Android, iOS, and Dart worker dispatch with queued cancellation, binary inputs, and background JSON codecs. Move APK verification to streamed native SHA256 while retaining the isolated fallback.
Open temporary media directory grants for reading, embedding and exporting lyrics on iOS and Android. Resolve native file aliases consistently while retaining extension storage restrictions.
Validate with 4 iOS integration tests, 42 Flutter tests, 6 Rust file capability tests, and Android Kotlin compilation. Refs #631.
Path and SAF scans wait at their next file checkpoint while paused and keep their position in memory. Cancel, backend shutdown and released request leases still end a paused scan.
Android froze the process once the activity stopped, because only track downloads held a foreground service. A dataSync BackgroundWorkService with a partial wake lock now covers library scans and in-app APK downloads, and stops when the last task ends or the system timeout fires. Its notification shows the existing localized progress, so no duplicate appears. If Android refuses the service, work continues as before.
On iOS a scan holds its own background task; on expiry it cancels the scan cleanly instead of being suspended.
Sync notification favorites with Library, add Mornye transport icons and an output action on legacy Android, and expose the iOS favorite command. Preserve playback position when controls refresh.
Vendor audio_service 0.18.19 with a small Android patch for custom notification actions. Modern Android keeps its system output switcher and transport layout.
Publish artwork, metadata, and transport state through a shared Dart bridge. Add configurable Android RemoteViews and iOS WidgetKit players with controls and links into the full player.
Serialize widget commands and session restoration, and share one headless-capable iOS Flutter engine with the foreground scene. Include native integration tests, Dart bridge tests, and widget setup documentation.
Keep automatic Hi-Res replacement off by default. Require exact full-duration PCM equivalence across every channel before and after processing. Retain the original through publication and history persistence, restore it on failure or cancellation, and bound WAV format parsing.
Validated with 30 Rust tests, 46 Dart tests, clean analyzer/Clippy checks, Android ARM64 and iOS builds, and iOS simulator startup.