summaryrefslogtreecommitdiff
path: root/eepg.h
diff options
context:
space:
mode:
authorDimitar Petrovski <dimeptr@gmail.com>2011-04-24 19:36:00 +0200
committerDimitar Petrovski <dimeptr@gmail.com>2011-04-24 19:36:00 +0200
commitb24044e6235cdf2c662ed832a2c7769bd27c081c (patch)
tree63d3fdec3a63251a27daf6983b0c234e1d5241e3 /eepg.h
parentb97463a3c823d019a4c900cface7b19fa1bdafc3 (diff)
downloadvdr-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.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/eepg.h b/eepg.h
index 6ca3194..19bb9de 100644
--- a/eepg.h
+++ b/eepg.h
@@ -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;