summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2011-01-10 20:09:10 +0100
committerJochen Dolze <vdr@dolze.de>2011-01-10 20:09:10 +0100
commit0afda6d34adb77ffbce433b3b9a4c6e8a3e1f3b7 (patch)
treebf1c64c3521f4e730120998f7fddcef7fe615d83
parent266060cb5e75340c713e070315378f44aa366b4e (diff)
downloadvdr-plugin-markad-0afda6d34adb77ffbce433b3b9a4c6e8a3e1f3b7.tar.gz
vdr-plugin-markad-0afda6d34adb77ffbce433b3b9a4c6e8a3e1f3b7.tar.bz2
Fixed bug reported by ALT255 (markad stops when VDR deletes the timer after a recording)
Fixed bug reported by Copperhead (saving setup values was broken) Added logos for SIXX and NICK_COMEDY
-rw-r--r--command/logos/NICK_COMEDY-A16_9-P0.pgmbin0 -> 15244 bytes
-rw-r--r--command/logos/SIXX-A16_9-P0.pgmbin0 -> 13193 bytes
-rw-r--r--plugin/setup.cpp7
-rw-r--r--plugin/status.cpp1
4 files changed, 7 insertions, 1 deletions
diff --git a/command/logos/NICK_COMEDY-A16_9-P0.pgm b/command/logos/NICK_COMEDY-A16_9-P0.pgm
new file mode 100644
index 0000000..b20d7a6
--- /dev/null
+++ b/command/logos/NICK_COMEDY-A16_9-P0.pgm
Binary files differ
diff --git a/command/logos/SIXX-A16_9-P0.pgm b/command/logos/SIXX-A16_9-P0.pgm
new file mode 100644
index 0000000..9fe88b1
--- /dev/null
+++ b/command/logos/SIXX-A16_9-P0.pgm
Binary files differ
diff --git a/plugin/setup.cpp b/plugin/setup.cpp
index 99090ed..f67b4c6 100644
--- a/plugin/setup.cpp
+++ b/plugin/setup.cpp
@@ -99,7 +99,12 @@ eOSState cSetupMarkAd::ProcessKey(eKeys Key)
case osUnknown:
if ((Key==kBlue) && (Current()==lpos))
- return AddSubMenu(new cSetupMarkAdList(setup));;
+ return AddSubMenu(new cSetupMarkAdList(setup));
+ if (Key==kOk)
+ {
+ Store();
+ state=osBack;
+ }
break;
default:
diff --git a/plugin/status.cpp b/plugin/status.cpp
index ad088c1..21be601 100644
--- a/plugin/status.cpp
+++ b/plugin/status.cpp
@@ -126,6 +126,7 @@ void cStatusMarkAd::TimerChange(const cTimer *Timer, eTimerChange Change)
{
if (!Timer) return;
if (Change!=tcDel) return;
+ if (time(NULL)>=Timer->Stop()) return; // don't react on normal VDR timer deletion after recording
Remove(Timer->File(),true);
}