summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2009-02-16 13:35:50 +0100
committerJochen Dolze <vdr@dolze.de>2009-02-16 13:35:50 +0100
commit9e2311c70bbc59bb645f7c6c32788035a3a3601b (patch)
tree34480d1565dde7c398aedfaa85235f4492f64c16
parent87447b03d3227941174c6b0a413b0266d958f3c7 (diff)
downloadvdr-plugin-infosatepg-9e2311c70bbc59bb645f7c6c32788035a3a3601b.tar.gz
vdr-plugin-infosatepg-9e2311c70bbc59bb645f7c6c32788035a3a3601b.tar.bz2
New version 0.0.8
Fixed wakeuptime-handling bug
-rw-r--r--HISTORY4
-rw-r--r--global.cpp5
-rw-r--r--infosatepg.h2
-rw-r--r--process.cpp3
4 files changed, 9 insertions, 5 deletions
diff --git a/HISTORY b/HISTORY
index 98f79d0..330c248 100644
--- a/HISTORY
+++ b/HISTORY
@@ -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
diff --git a/global.cpp b/global.cpp
index ed2c691..56fccb8 100644
--- a/global.cpp
+++ b/global.cpp
@@ -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);