Free the mouse Replay RnsGetHeadEnd
Home | Changes | Index | Search | Go

getheadend.pl requests

For each HeadEnd available, a request is made like:
   http://rns.replaytv.net/cgi-bin/2.0/getheadend.pl?headend=OR36575&country=US
. If-Modified-Since headers are used for these; they change when channel lineups change, but the response is still usually 304 Not Modified.

The response body is a binary file of content-type vnd.replay.headend consisting of a 36-byte header followed by 56-byte HeadendChannel records.

Header

A sample header (this one for headed OR36575) looks like:
00000000 01 00 00 01 04 00 00 00 00 00 00 00 00 00 00 00   ................
00000010 00 00 00 00 00 00 00 00 00 00 00 00 05 00 00 00   ................
00000020 00 00 00 00                                       ....
Offset Size Name Description
0 4 u32 device_bitmap Either 0, in which case only the standard/antenna/unnamed device is present, or a bitmask of included DeviceCodes, in their bitmask format
4 32 u8 max_tier[32] One entry for each possible device; this is the maximum ServiceTier carried on that device.

-- ToddLarason - 15 Mar 2002


Your post will appear before this form in chronological order (newest at bottom)

Attachment: Action: Size: Date: Who: Comment:
getheadend-response.dat action 19412 12 Mar 2002 - 11:16 ToddLarason Sample response from getheadend.pl
dump-headend.c action 3943 14 Mar 2002 - 00:56 ToddLarason dumps the headend data in a text format

Topic RnsGetHeadEnd . { Edit | Attach | Ref-By | Printable | Diffs | r1.6 | > | r1.5 | > | r1.4 | More }
Revision r1.6 - 01 Apr 2003 - 04:47 GMT - TWikiGuest

Copyright © 2001 by the contributing authors. All material on this collaboration tool is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback.