diff options
author | Jochen Dolze <vdr@dolze.de> | 2009-02-16 13:35:50 +0100 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2009-02-16 13:35:50 +0100 |
commit | 9e2311c70bbc59bb645f7c6c32788035a3a3601b (patch) | |
tree | 34480d1565dde7c398aedfaa85235f4492f64c16 | |
parent | 87447b03d3227941174c6b0a413b0266d958f3c7 (diff) | |
download | vdr-plugin-infosatepg-9e2311c70bbc59bb645f7c6c32788035a3a3601b.tar.gz vdr-plugin-infosatepg-9e2311c70bbc59bb645f7c6c32788035a3a3601b.tar.bz2 |
New version 0.0.8
Fixed wakeuptime-handling bug
-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); |