diff options
author | Dimitar Petrovski <dimeptr@gmail.com> | 2011-04-24 19:36:00 +0200 |
---|---|---|
committer | Dimitar Petrovski <dimeptr@gmail.com> | 2011-04-24 19:36:00 +0200 |
commit | b24044e6235cdf2c662ed832a2c7769bd27c081c (patch) | |
tree | 63d3fdec3a63251a27daf6983b0c234e1d5241e3 /eepg.h | |
parent | b97463a3c823d019a4c900cface7b19fa1bdafc3 (diff) | |
download | vdr-plugin-eepg-b24044e6235cdf2c662ed832a2c7769bd27c081c.tar.gz vdr-plugin-eepg-b24044e6235cdf2c662ed832a2c7769bd27c081c.tar.bz2 |
- Added previous patches to version 0.0.5
- Changed docodeText2 to use code from vdr which also handles charset override
- Removed some gotos
- Added setup option to display message after finish of writing epg
Diffstat (limited to 'eepg.h')
-rw-r--r-- | eepg.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -3,7 +3,7 @@ #define EEPG_FILE_EQUIV "eepg.equiv" -#define MAX_THEMES 256 //this should always be >=256, or Nagra will go wrong!! +#define MAX_THEMES 2046 //this should always be >=256, or Nagra will go wrong!! #define MAX_CHANNELS 2048 #define MAX_TITLES 262144 @@ -40,7 +40,7 @@ typedef struct unsigned short int ChannelId; unsigned short int SkyNumber; unsigned short int NumberOfEquivalences;//original channel sets this value to 1, every equivalent channel adds 1 - unsigned short int Src[MAX_EQUIVALENCES]; + unsigned int Src[MAX_EQUIVALENCES]; unsigned short int Nid[MAX_EQUIVALENCES]; unsigned short int Tid[MAX_EQUIVALENCES]; unsigned short int Sid[MAX_EQUIVALENCES]; @@ -59,12 +59,16 @@ typedef struct { unsigned char Unknown1;//FIXME unsigned char Unknown2;//FIXME unsigned char Unknown3;//FIXME + unsigned char Rating; } Title_t; typedef struct { unsigned short int ChannelId; unsigned int StartTime; unsigned short int MjdTime; +} Replays_t; +typedef struct { + Replays_t Replays[11]; //at the moment 10 is allowed, check why unsigned int EventId;//short is not sufficient for Nagra unsigned short int NumReplays; unsigned char * Text; |