diff options
-rw-r--r-- | HISTORY | 4 | ||||
-rw-r--r-- | global.cpp | 5 | ||||
-rw-r--r-- | infosatepg.h | 2 | ||||
-rw-r--r-- | process.cpp | 3 |
4 files changed, 9 insertions, 5 deletions
@@ -1,5 +1,9 @@ VDR Plugin 'infosatepg' Revision History ---------------------------------------- +2009-02-16: Version 0.0.8 + +- Fixed wakeuptime-handling bug + 2009-02-15: Version 0.0.7 - Added patch from Keine_Ahnung @@ -423,8 +423,8 @@ bool cGlobalInfosatepg::ReceivedAll(int *Day, int *Month) // New day, but new data is ready only after wakeup-time time_t Now = time(NULL); time_t Time; - if (WakeupTime()==-1) Time=Now+1; // No wakeup set, just wait - else Time = cTimer::SetTime(Now,cTimer::TimeToInt(WakeupTime())); + if (WakeupTime()==-1) Time=Now+1; // If no wakeup set, just wait + else Time = WakeupTime(); if (Now>=Time) { // new day and new data should be available @@ -436,7 +436,6 @@ bool cGlobalInfosatepg::ReceivedAll(int *Day, int *Month) // wait till we are after wakeuptime res=true; } - } } diff --git a/infosatepg.h b/infosatepg.h index eb383f2..e2a7211 100644 --- a/infosatepg.h +++ b/infosatepg.h @@ -12,7 +12,7 @@ #include "global.h" #include "status.h" -static const char *VERSION = "0.0.6"; +static const char *VERSION = "0.0.8"; static const char *DESCRIPTION = trNOOP("Read EPG info from infosat"); class cPluginInfosatepg : public cPlugin { diff --git a/process.cpp b/process.cpp index 62bbcc3..451196e 100644 --- a/process.cpp +++ b/process.cpp @@ -1039,7 +1039,8 @@ bool cProcessInfosatepg::ParseInfosatepg(FILE *f,time_t *firststarttime) if (!global->InfosatChannels()) { // Send message - Skins.QueueMessage(mtInfo,tr("Infosat channellist available")); + Skins.QueueMessage(mtInfo, + tr("Infosat channellist available")); } // Channel is not in global list->add global->AddChannel(chan->GetChannelID(),USE_NOTHING,1); |