diff options
author | Dimitar Petrovski <dimeptr@gmail.com> | 2012-10-30 18:40:41 +0100 |
---|---|---|
committer | Dimitar Petrovski <dimeptr@gmail.com> | 2012-10-30 18:40:41 +0100 |
commit | fabd731b78f9c221cb6f6090308005835d09d67d (patch) | |
tree | 9121d8ae2d06c873108c8605f7012283135076b1 | |
parent | f1717857da8db98772c7a807befe2426ff2ed133 (diff) | |
download | vdr-plugin-eepg-fabd731b78f9c221cb6f6090308005835d09d67d.tar.gz vdr-plugin-eepg-fabd731b78f9c221cb6f6090308005835d09d67d.tar.bz2 |
fixed documentation
removed forgotten noepg ifdef
fixed cppcheck errors
-rw-r--r-- | README | 4 | ||||
-rw-r--r-- | dish.c | 5 | ||||
-rw-r--r-- | dish.h | 1 | ||||
-rw-r--r-- | eepg.c | 5 | ||||
-rw-r--r-- | setupeepg.h | 2 |
5 files changed, 8 insertions, 9 deletions
@@ -83,7 +83,7 @@ Currently known transponders that send EEPG data: * Digital+ S19.2E:10847V (Mediahighway 2) * Premiere Sport Portal, Premiere Direkt Portal * Freesat all freesat channels -* Dish and BEV S119.0W:12472H S91.0W12224R +* Dish and BEV S119.0W:12472H S91.0W12224R Please note that the NagraGuide broadcasts of Canal DigitaalNL are stil in betatest; therefore its information is not always reliable. It seems that sometimes, when no summaries @@ -112,7 +112,7 @@ This code is based on: * Dish/BEV patch written by * cAddEventThread from EPGFixer plugin by Matti Lehtimaki matti.lehtimaki /at/ gmail.com Thanks to mrgandalf, and the others who helped map NA eit. -Thanks to VDR User for testing and providing <> script. +Thanks to VDR User for testing and providing makequiv.sh script for S72.7W channels. We wish to thank all authors for the great work they have been doing, decoding this EEPG data; this plugin tries to combine the best of all worlds. @@ -56,6 +56,7 @@ namespace SI originalAirDate = 0; programId = NULL; seriesId = NULL; + ratingStr = NULL; } DishDescriptor::~DishDescriptor() @@ -418,7 +419,9 @@ namespace SI str += "]"; } - return str.c_str(); + if (!ratingStr) ratingStr = new char[19]; + if (ratingStr) strcpy(ratingStr,str.c_str()); + return ratingStr; // return isempty(buffer) ? "" : buffer; } @@ -284,6 +284,7 @@ protected: time_t originalAirDate; char* seriesId; char* programId; + char* ratingStr; struct HuffmanTable { @@ -3316,11 +3316,6 @@ void cFilterEEPG::ProcessPremiere(const u_char *& Data) } tChannelID channelID (Source (), nid, tid, sid); cChannel *channel = Channels.GetByChannelID (channelID, true); -#ifdef USE_NOEPG - // only use epg from channels not blocked by noEPG-patch - if (!allowedEPG (channelID)) - continue; -#endif /* NOEPG */ if (!channel) continue; diff --git a/setupeepg.h b/setupeepg.h index 4c30ede..0db20d1 100644 --- a/setupeepg.h +++ b/setupeepg.h @@ -33,7 +33,7 @@ public: void setConfDir(char* confDir) { if (ConfDir) - delete ConfDir; + delete [] ConfDir; ConfDir = new char[strlen(confDir)+1]; strcpy(ConfDir, confDir); } |