diff options
Diffstat (limited to 'source.cpp')
-rw-r--r-- | source.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -109,7 +109,8 @@ void cEPGExecutor::Action() // ------------------------------------------------------------- cEPGSource::cEPGSource(const char *Name, const char *ConfDir, const char *EPGFile, - const char *EPDir, cEPGMappings *Maps, cTEXTMappings *Texts) + const char *EPDir, const char *CodeSet, cEPGMappings *Maps, + cTEXTMappings *Texts) { if (strcmp(Name,EITSOURCE)) { @@ -133,7 +134,7 @@ cEPGSource::cEPGSource(const char *Name, const char *ConfDir, const char *EPGFil { ready2parse=ReadConfig(); parse=new cParse(EPGFile,EPDir,this, Maps); - import=new cImport(EPGFile,EPDir,Maps,Texts); + import=new cImport(EPGFile,EPDir,CodeSet,Maps,Texts); dsyslogs(this,"is%sready2parse",(ready2parse && parse) ? " " : " not "); } else @@ -847,8 +848,9 @@ time_t cEPGSources::NextRunTime() } void cEPGSources::ReadIn(const char *ConfDir, const char *EpgFile, const char *EPDir, - cEPGMappings *EPGMappings, cTEXTMappings *TextMappings, - const char *SourceOrder, bool Reload) + const char *CodeSet, cEPGMappings *EPGMappings, + cTEXTMappings *TextMappings, const char *SourceOrder, + bool Reload) { if (Reload) Remove(); DIR *dir=opendir(EPGSOURCES); @@ -878,7 +880,7 @@ void cEPGSources::ReadIn(const char *ConfDir, const char *EpgFile, const char *E id[4]=0; if (!strcmp(id,"file") || !strcmp(id,"pipe")) { - Add(new cEPGSource(dirent->d_name,ConfDir,EpgFile,EPDir,EPGMappings,TextMappings)); + Add(new cEPGSource(dirent->d_name,ConfDir,EpgFile,EPDir,CodeSet,EPGMappings,TextMappings)); } else { @@ -904,7 +906,8 @@ void cEPGSources::ReadIn(const char *ConfDir, const char *EpgFile, const char *E if (!Exists(EITSOURCE)) { - Add(new cEPGSource(EITSOURCE,ConfDir,EpgFile,EPDir,EPGMappings,TextMappings)); + Add(new cEPGSource(EITSOURCE,ConfDir,EpgFile,EPDir,CodeSet, + EPGMappings,TextMappings)); } if (!SourceOrder) return; |