Pairing and Handoff between Devices #50
Labels
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
#51 Remote control of a Paired Device
SBDeveloper/medley
#52 A Device as a Source for another Device
SBDeveloper/medley
Reference
SBDeveloper/medley#50
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #49
Phase 1 of Handoff. Decisions in ADR 0009; terms in
GLOSSARY.md(Device, Pairing, Handoff, Output).Core, with two Cores talking in one testDone (uncommitted at time of writing; the maintainer commits). Verified on a Linux PC and a Samsung phone on Android 17.
Built
device.json, private key readable by the user only._medley._tcp), only on the local network's interface; fixed port 47530 with fallback.hand_off_to,take_over_from): offer → ready → commit → started, abandoned on timeout. Queue (order, shuffle, repeat, context) and position carry over; receiving Queue replaced. Resolution: same Source + id (catalog Sources: one login check per Source), ISRC, similar title/artist/duration (listed in a notice), else skipped.ACCESS_LOCAL_NETWORK(Android 17 blocks the LAN without it, asked when Devices is first opened), QR scanning via Google's code scanner, phone model as name.Tests:
crates/core/tests/devices.rs(27 + 1 manual real-mDNS test),crates/core/tests/output.rs,ui/src/lib/devices.test.ts.Left out / follow-ups
Decisions in ADR 0009; terms in GLOSSARY.md (Device, Pairing, Handoff, Output).