diff options
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/setup.cpp | 8 | ||||
-rw-r--r-- | plugin/status.cpp | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/plugin/setup.cpp b/plugin/setup.cpp index 8aad8f5..8835735 100644 --- a/plugin/setup.cpp +++ b/plugin/setup.cpp @@ -59,7 +59,7 @@ void cSetupMarkAd::write(void) Add(new cMenuEditBoolItem(tr("log to recording directory"),&log2rec)); Add(new cMenuEditBoolItem(tr("hide mainmenu entry"),&hidemainmenuentry)); - if (current==-1) + if (current==-1) { SetCurrent(first); } @@ -68,7 +68,7 @@ void cSetupMarkAd::write(void) SetCurrent(Get(current)); } } else { - lpos=-1; + lpos=-1; } Display(); } @@ -114,6 +114,10 @@ eOSState cSetupMarkAd::ProcessKey(eKeys Key) void cSetupMarkAd::Store(void) { SetupStore("Execution",processduring); + if (processduring!=0) { + whilerecording=1; + whilereplaying=1; + } SetupStore("whileRecording",whilerecording); SetupStore("whileReplaying",whilereplaying); SetupStore("IgnoreMargins",nomargins); diff --git a/plugin/status.cpp b/plugin/status.cpp index 4fdf1be..a691477 100644 --- a/plugin/status.cpp +++ b/plugin/status.cpp @@ -56,6 +56,7 @@ bool cStatusMarkAd::Replaying() void cStatusMarkAd::Replaying(const cControl *UNUSED(Control), const char *UNUSED(Name), const char *UNUSED(FileName), bool On) { + if (setup->ProcessDuring!=0) return; if (setup->whileReplaying) return; if (On) { @@ -130,6 +131,7 @@ void cStatusMarkAd::TimerChange(const cTimer *Timer, eTimerChange Change) { if (!Timer) return; if (Change!=tcDel) return; + if (setup->ProcessDuring==2) return; if (time(NULL)>=Timer->StopTime()) return; // don't react on normal VDR timer deletion after recording Remove(Timer->File(),true); } |