The list of available channels can be queried using the following URLs:
http://hdhomerun.local/lineup.json http://hdhomerun.local/lineup.xml http://hdhomerun.local/lineup.m3u
Note: “hdhomerun.local” can also be replaced by the deviceID.local or the IP address of the HDHomeRun.
The following information is returned for each program:
The HTTP request will result in the following sequence:
The stream will continue until the TCP connection is closed by the client or the specified duration is reached, at which point the tuner will become available for other client requests.
Optional parameters may be specified by adding ?<paramater>&<paramater>&<…> to the end of the URL.
(EXTEND models only)
For the URL “http://192.168.0.100:5004/auto/v5.1”
URLs can also use the channel frequency instead of the virtual channel. Use “ch” instead of “v”, and the RF channel number or frequency in Hz instead of the virtual channel number.
http://192.168.0.100:5004/auto/ch473000000
http://192.168.0.100:5004/auto/ch473000000-3
The “/auto/” portion of the URL will select the first available tuner. Replacing this with a tuner identifier will force use of a specific tuner. For example:
The URL for using the second tuner might look like this:
http://192.168.0.100:5004/tuner1/v5.1
If the virtual channel number is not known the tuner will return “404 Not Found”.
If the request cannot be completed at this time (for example all tuners are in use) the tuner will return “503 Service Unavailable”.
If the program cannot be not found in the stream within 5 seconds or the program cannot be authorized within 5 seconds the tuner will return “503 Service Unavailable”.
If the program requires content-protection not requested by the client the tuner will return “503 Service Unavailable” after 5 seconds. This error code may change in the future to return a more relevant error code.
There's an X-HDHomeRun-Error header that will be returned with more specific reasons. The parts in parentheses are not included in the error, just an explanation of what the error is.
801 | Unknown Channel |
802 | Unknown Transcode Profile (EXTEND only) |
803 | System Busy (normally means the device is in the middle of a channel scan) |
804 | Tuner In Use (when a specific tuner is used instead of auto) |
805 | All Tuners In Use |
806 | Tune Failed (TA reported an error (PRIME only), or hardware error) |
807 | No Video Data (bad reception/station off air/particular service is not being transmitted at that time) |
808 | DVR Failure (DVR can't write to the recording location) |
809 | Playback Connection Limit (DVR has hit the limit of playback streams) |
810 | DVR Full |
811 | Content Protection Required (PRIME only, channel is copy protected) |
The stream is delivered to the client in real time as it arrives from the broadcast source.