20 lines
1 KiB
Markdown
20 lines
1 KiB
Markdown
# ECP-0019: add HDHomeRun by host/IP in Tauri UI
|
|
|
|
## Status
|
|
Draft
|
|
|
|
## Context
|
|
Auto-discovery is great, but users sometimes only have a device IP/hostname. We need a direct add flow to attach HDHomeRun devices to the local catalog without relying on UDP discovery.
|
|
|
|
## Decision
|
|
Add a manual HDHomeRun host/IP input in the Tauri “Add source” menu. The backend will resolve `discover.json`, fetch the lineup, and add the streams/sources to the local catalog.
|
|
|
|
## Details
|
|
- New Tauri command `add_hdhr_source` takes a host/IP and hydrates channels.
|
|
- Manual devices are kept alongside auto-discovered devices; refresh does not delete manual sources.
|
|
- Manual streams and sources are merged into the local catalog and startable like auto-discovered streams.
|
|
- Manual host list is normalized (strips scheme/path, trims slashes) and persisted under the app config directory for reuse across restarts.
|
|
|
|
## Consequences
|
|
- Users can onboard a device without UDP discovery.
|
|
- Manual entries survive restarts but can be managed by editing/removing the saved host list if needed.
|