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

About ReplayChannel

A ReplayChannel represents one set of recording instructions.

4.1 and 4.3:

Offset Size Name Notes
0 4 channel_type The over-all ChannelType
4 4 quality The QualitySetting
8 8 space_allocated The number of disk bytes reserved; 0 for non-guaranteed
16 4 keep The number of episodes to keep
20 4 stored The number of episodes currently stored
24 1 days_of_week The DaysOfWeek to record on
25 1 after_padding The number of minutes extra to record after the scheduled end of the program
26 1 before_padding The number of minutes extra to record before the scheduled end of the program
27 1 flags ChannelFlags -- not well understood
28 4 category The category 'tab' this channel is in, as a bitmask (1 << category index)
32 4 channel_id The primary key to identify this channel; it also happens to be the channel creation time as a TimeT
36 28 u32 reserved_for_don[7] this is actually an 8-member array, not 7, with seconds_allocated reserved_for_don[7], but since it's used it's no longer reserved, no matter what the actual source apparently says
64 4 seconds_allocated For guaranteed shows, the total number of seconds allocated
68 48 label A NUL-terminated string to use as a label for this channel
116 444 replay_show A ReplayShow structure; for time-based recordings, the time, channel, etc. come from here
560 64 replay_theme A ReplayTheme structure; for theme-based and zone-based recordings, the search parameters come from here.

-- ToddLarason - 22 Mar 2002

4.5 and 5.0:

Offset Size Name Notes
0 512 replay_show A ReplayShow structure; for time-based recordings, the time, channel, etc. come from here
512 60 replay_theme A ReplayTheme structure; for theme-based and zone-based recordings, the search parameters come from here.
572 4 channel_id The primary key to identify this channel; it also happens to be the channel creation time as a TimeT
576 4 category The category 'tab' this channel is in, as a bitmask (1 << category index)
580 4 channel_type The over-all ChannelType
584 4 quality The QualitySetting
588 4 stored The number of episodes currently stored
592 4 keep The number of episodes to keep
596 1 days_of_week The DaysOfWeek to record on
597 1 after_padding The number of minutes extra to record after the scheduled end of the program
598 1 before_padding The number of minutes extra to record before the scheduled end of the program
599 1 flags ChannelFlags -- not well understood
600 4 priority For Themes with THEMEPRIORITY enabled, the actual priority is 99 - priority. For other shows the priority is a number that starts at zero, and gets increased when the show is manually selected to record in place of another show using the conflict resolution. When two shows conflict, this priority number is compared before the channel_id (creation date) number. Higher priorities win, and for shows of equal priority the one created most recently wins (highest channel_id number wins).
604 4 seconds_allocated For guaranteed shows, the total number of seconds allocated
608 48 label A NUL-terminated string to use as a label for this channel
656 32 u32 reserved_for_don[8]  
688 8 space_allocated The number of disk bytes reserved; 0 for non-guaranteed
696 4 unknown1  
700 4 unknown2  
704 4 unknown3  
708 4 unknown4  

-- LeeThompson - 12 April 2004



For version 5.0 and above, the seconds_allocated field is really:

offset 600, size 4, Priority offset 604, size 4, seconds_allocated

The priority is a number that starts at zero, and gets increased when the show is manually selected to record in place of another show using the conflict resolution. When two shows conflict, this priority number is compared before the channel_id (creation date) number. Higher priorities win, and for shows of equal priority the one created most recently wins (highest channel_id number wins).

-- TWikiGuest - 28 Sep 2003


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

Topic ReplayChannel . { Edit | Attach | Ref-By | Printable | Diffs | r1.8 | > | r1.7 | > | r1.6 | More }
Revision r1.8 - 12 May 2003 - 16:48 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.