I've done some digging in the recordings from the day.
Here's an extract from the information in the HMT file:
Code:
Format:SD
Title:Philpott Housefire: The Truth
Channel:5 (Channel 5)
Folder:/mnt/hd2/My Video/Test/
Filename:Philpott Housefire_ The Truth_20130402_2100
Genre:Unknown (128)
Service ID (SID):8500
Transport Stream ID (TSID):8217
Originating Network ID (ONID):9018
Programme Map Table PID (PMTPID):289
Video PID:2950
Audio PID:2851
Here's the CSI event as it originally appeared in the EPG (taken from an archived copy of the RS EPG database):
Code:
network_id: 12333
service_id: 8500
event_id: 40870
start: 1364932800
end: 1364936400
duration: 3600
name: New: CSI Crime Scene Investigation
text: Pick and Roll: New. Crime drama starring Ted Danson. When a basketball coach is found bludgeoned to death in his locker room, DB's son Charlie and his new girlfriend are among the list of su... [AD,S]
warning:
content_type: 15
content: Undefined
event_crid: /V64Z9
series_crid: /RBI7
rec_crid:
and here's a packet from the live stream near the start of the Philpott programme:
Code:
18 (Cont: 5) TEI/PUS/PRI: 0/1/0 S: None A: No, payload only
00000000: 1a 08 2f 35 33 36 35 32 33 37 76 0b c8 09 2f 34 ../5365237v.../4
00000010: 39 36 37 35 30 38 37 4b cb 1b 8a 4e f0 6c 21 34 9675087K...N.l!4
00000020: e3 00 01 20 19 23 3a 01 4e 9f a6 dc 40 20 00 00 ... .#:.N...@ ..
00000030: 01 00 00 80 51 5f 04 00 00 23 3a 54 02 80 00 50 ....Q_...#:T...P
00000040: 06 f1 03 01 75 6e 64 50 06 f2 03 02 65 6e 67 50 ....undP....engP
00000050: 06 f3 10 05 65 6e 67 76 08 c4 06 2f 56 36 46 30 ....engv.../V6F0
00000060: 43 4d 23 65 6e 67 1d 50 68 69 6c 70 6f 74 74 20 CM#eng.Philpott
00000070: 48 6f 75 73 65 66 69 72 65 3a 20 54 68 65 20 54 Housefire: The T
00000080: 72 75 74 68 01 2e b6 c1 61 88 51 f2 fa 20 bd cb ruth...
the event information section for this programme starts at byte 27:
4e - table ID (this TS, now/next information)
f0 6c - flags & section length
21 34 - service ID (= 5800 in decimal - Channel 5 on my device and matches the EPG extract)
e3 - bit 0 indicates "table valid now" and that is set
00 01 - section numbers
20 19 - TSID (8217 - matches value in final .hmt file)
23 3a - ONID (9018 - matches .hmt)
01 - last section in segment
4e - last table ID
9f a6 - Event ID (40870 - NOTE same event ID as original scheduled CSI episode)
dc 40 20 00 00 - start time, decodes as 8pm on the day (remember BST)
01 00 00 - duration (one hour)
80 - first 3 bits are the "running status" flag. This value indicates that the event is running now.
You can also see the CRIDs for the Philpott programme there - the event CRID is /V6F0C - not the same as the original CSI episode.
Now for the relocated CSI event:
Code:
Format:SD
Title:New: CSI Crime Scene Investigation
Channel:5 (Channel 5)
Folder:/mnt/hd2/My Video/Test/
Filename:New_ CSI Crime Scene Investigation_20130402_2200
Genre:Drama (240)
EPG:Pick and Roll: New. Crime drama starring Ted Danson. When a basketball coach is found bludgeoned to death in his locker room, DB's son Charlie and his new girlfriend are among the list of su... [AD,S]
Service ID (SID):8500
Transport Stream ID (TSID):8217
Originating Network ID (ONID):9018
Programme Map Table PID (PMTPID):289
Video PID:2950
Audio PID:2851
Code:
00000030: 63 61 6e 20 61 66 66 6f 72 64 2e d6 30 38 d3 4e can afford..08.N
00000040: f1 49 21 34 e3 01 01 20 19 23 3a 01 4e a1 1e dc .I!4... .#:.N...
00000050: 40 21 00 00 00 55 00 21 2e 5f 04 00 00 23 3a 54 @!...U.!._...#:T
00000060: 02 f0 00 50 06 f1 03 01 75 6e 64 50 06 f2 03 02 ...P....undP....
00000070: 65 6e 67 50 06 f2 40 06 65 6e 67 50 06 f3 10 05 engP..@.engP....
00000080: 65 6e 67 76 08 c4 06 2f 56 36 34 5a 39 76 07 c8 engv.../V64Z9v..
00000090: 05 2f 52 42 49 37 4d ef 65 6e 67 22 4e 65 77 3a ./RBI7M.eng"New:
000000a0: 20 43 53 49 20 43 72 69 6d 65 20 53 63 65 6e 65 CSI Crime Scene
000000b0: 20 49 6e 76 65 73 74 69 Investi
4e - table ID (this TS, now/next information)
f1 49 - flags & section length
21 34 - service ID (= 5800 in decimal - Channel 5 on my device and matches the EPG extract)
e3 - bit 0 indicates "table valid now" and that is set
00 01 - section numbers
20 19 - TSID (8217 - matches value in final .hmt file)
23 3a - ONID (9018 - matches .hmt)
01 - last section in segment
4e - last table ID
a1 1e - Event ID (41246)
dc 40 21 00 00 - start time, decodes as 9pm on the day (remember BST)
00 55 00 - duration (55 minutes)
21 - first 3 bits are the "running status" flag. The value here (0) is undefined.