Build stream url
hdhomerun_build_stream_urlConstructs a live TV stream URL for an HDHomeRun tuner using a virtual channel or RF frequency, with optional tuner, program, duration, and transcode parameters.
Instructions
Build a live-stream URL: /{auto|tuner}/{v|ch[-]}.
Args:
channel: virtual channel number (e.g. "24.1") or RF frequency in Hz
when by_frequency is True.
tuner: tuner index (0-3) to force a specific tuner, or None for
/auto/ (first available tuner).
by_frequency: use ch<frequency> addressing instead of v<channel>.
program: sub-channel program number (only with by_frequency).
duration: optional stream duration limit in seconds.
transcode: optional EXTEND-model transcode profile.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tuner | No | ||
| channel | Yes | ||
| program | No | ||
| duration | No | ||
| transcode | No | ||
| by_frequency | No |