Hosts announce their platform and optional features (downloads, opening
links, file changes). The phone remembers them and hides the actions a
host lacks, and shows a phone icon for a phone host. Older hosts that
announce nothing keep every action.
Refresh discovery when interfaces change or the app returns to the foreground. Retry failed and unexpectedly stopped browsers with bounded backoff, and report Bonjour policy denial as a local network permission failure.
Validation: 82 related tests pass; targeted analyzer and formatting checks pass. Two Devices handoff tests also fail on the unchanged baseline.
The phone closed its session with the desktop in the background, so
Next and Previous from the notification reached the desktop but the
song it moved to never came back, and the notification kept the old
one (Pause looked right only because it is shown before the desktop
answers). The session now stays connected in the background while the
desktop plays in the phone's place.
A failed connection attempt now moves playback back to the phone, so
songs picked meanwhile no longer wait for a desktop that cannot answer.
A new song abandons a source still preparing on the phone's player
instead of queueing behind the plugin's 30 second prepare timeout, so a
local song plays at once after a network song that hangs.
While the session cannot reach the desktop its Library songs check the
server with a short connect before playing and fail within seconds
instead of waiting the 20 second network timeout.
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.