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

About GuideSnapshotHeader

The first section of a GuideSnapshot.

4.1,4.3,4.5

"Version 1"

Offset Size Name Notes
0 2 version Minor version number of ReplayTV operating system (eg. 3 for 4.3, 5 for 4.5, 0 for 5.0)
2 2 snapshotversion Revision number of the guide snapshot. Always 1 for this version
4 4 struct_size Right now, 32. The meaning is a guess; treated as a magic number by the RTV code
8 4 num_channels_1 The number of ReplayChannels in the GuideSnapshot file
12 4 num_channels_2 In a valid exported GuideSnapshot file, will always match num_channels_1. This copy is incremented while the ReplayShow records are being exported, to keep track of how far in the process the export is.
16 4 group_data_offset Offset in bytes from the beginning of the file for the start of the GroupData record. Should always be 32 for this version of the file format.
20 4 channel_offset Offset in bytes from the beginning of the file for the beginning of the first ReplayChannel record. Should always be 808 for this version of the file format.
24 4 show_offset Offset in bytes from the beginning of the file for the beginning of the first ReplayShow record. Should always be 808 + 624 (712 for 4.5) * num_channels_1 for this version of the file format.
28 4 GuideFlags This isn't initialized before being written; undefined bits should be ignored (for this version of the file format, at least)

5.0

"Version 2"

Offset Size Name Notes
0 2 version Minor version number of ReplayTV operating system (eg. 3 for 4.3, 5 for 4.5, 0 for 5.0)
2 2 snapshotversion Revision number of the guide snapshot. Always 2 for this version
4 4 struct_size 64 for this version of the structure.
8 4 unknown1  
12 4 unknown2  
16 4 num_channels_1 The number of ReplayChannels in the GuideSnapshot file
20 4 num_channels_2 In a valid exported GuideSnapshot file, will always match num_channels_1. This copy is incremented while the ReplayShow records are being exported, to keep track of how far in the process the export is.
24 4 unknown3  
28 4 group_data_offset Offset in bytes from the beginning of the file for the start of the GroupData record. Should always be 64 for this version of the file format.
32 4 channel_offset Offset in bytes from the beginning of the file for the beginning of the first ReplayChannel record. Should always be 840 for this version of the file format.
36 4 show_offset Offset in bytes from the beginning of the file for the beginning of the first ReplayShow record. Should always be 840 + 712 * num_channels_1 for this version of the file format.
40 4 snapshotsize Total size in bytes of the snapshot.
44 4 unknown4  
48 4 unknown5  
52 4 GuideFlags This isn't initialized before being written; undefined bits should be ignored (for this version of the file format, at least)
56 4 unknown6 might be default recording quality
60 4 unknown7  

-- LeeThompson - 12 May 2003



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

Topic GuideSnapshotHeader . { Edit | Attach | Ref-By | Printable | Diffs | r1.10 | > | r1.9 | > | r1.8 | More }
Revision r1.10 - 01 Jun 2003 - 01:00 GMT - LeeThompson
Parents: GuideSnapshot
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.