Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dvr:xmltv [2026/02/14 08:24] nedsdvr:xmltv [2026/02/14 08:31] (current) – [History] neds
Line 6: Line 6:
 </WRAP> </WRAP>
  
-<lead>If you have a [[:DVR:activation|Full Guide subscription]] you can use the 14-day HDHomeRun guide data via an XMLTV file.</lead> +<lead>14 day XMLTV guide data is available for HDHomeRun customers to use with third party apps. At least one HDHomeRun tuner and a paid [[:DVR:activation|HDHomeRun DVR guide subscription]] is required to use this API.</lead>
- +
-===== API ===== +
-14 day XMLTV guide data is available for HDHomeRun customers to use with third party apps. At least one HDHomeRun tuner and a paid [[:DVR:activation|HDHomeRun DVR guide subscription]] is required to use this API.+
  
 ====API URL==== ====API URL====
Line 16: Line 13:
 GET<code>https://api.hdhomerun.com/api/xmltv</code> GET<code>https://api.hdhomerun.com/api/xmltv</code>
  
 +</WRAP>
 ====API Parameters==== ====API Parameters====
 <WRAP indent> <WRAP indent>
Line 28: Line 26:
 | DeviceIDs | string | Comma-separated list of DeviceIDs | | DeviceIDs | string | Comma-separated list of DeviceIDs |
  
 +</WRAP>
 +==== Additional requirements ====
 +<WRAP indent>
 +
 +  * The HDHomeRun device(s) must be associated with a paid HDHomeRun DVR account to access XMLTV guide data.
 +  * The HTTP client must accept gzip encoding.
 +  * The DeviceAuth changes regularly and is valid for 16-24 hours. If using the DeviceAuth access approach the DeviceAuth must be read from the HDHomeRun tuner(s) to get the latest value each time this API is invoked.
 +  * Do not schedule the download for midnight or a fixed time each day - requests should be made at a random interval. For example, after downloading the xmltv guide, schedule the next download for 20 to 28 hours (randomized delay) in the future.
  
 </WRAP> </WRAP>
 +==== Example ====
 +<WRAP indent>
 +
 +<code>curl --compressed "https://api.hdhomerun.com/api/xmltv?DeviceAuth=xxx" > guide.xml</code>
 +
 +<code>curl --compressed "https://api.hdhomerun.com/api/xmltv?Email=xxx&DeviceIDs=xxx,xxx,xxx" > guide.xml</code>
  
 </WRAP> </WRAP>
  
 +====History====
 +<WRAP indent>
 +  * 20251026:
 +    * URL must be quoted in most shells.
 +
 +  * 20251025:
 +    * New Email+DeviceIDs access approach.
 +    * Clarifications.
 +
 +  * 20251023:
 +    * Add note regarding scheduling the download.
 +
 +  * 20250928:
 +    * Initial documentation.
 +
 +
 +Copyright © 2016-2025 Silicondust USA Inc. <www.silicondust.com>.
 +
 +</WRAP>
  
 {{tag>DVR}} {{tag>DVR}}
 {{tag>development}} {{tag>development}}
  • Last modified: 2026/02/14 08:24