summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2020-07-15 17:03:38 +0200
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2020-07-15 17:38:01 +0200
commit0400ff1b029baee8900e465712903b5ddf6c5f07 (patch)
tree9b77c798904b21949c9469799b917b4ff0257788 /setup.c
parenta1619348198d1b485aaebc91176403c15dbec47d (diff)
downloadvdr-plugin-tvguideng-0400ff1b029baee8900e465712903b5ddf6c5f07.tar.gz
vdr-plugin-tvguideng-0400ff1b029baee8900e465712903b5ddf6c5f07.tar.bz2
Fixed a remote timer problem
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/setup.c b/setup.c
index 04d46b1..c178cba 100644
--- a/setup.c
+++ b/setup.c
@@ -22,6 +22,9 @@ cTvGuideSetup::cTvGuideSetup() {
useSubtitleRerunTexts[0] = tr("never");
useSubtitleRerunTexts[1] = tr("if exists");
useSubtitleRerunTexts[2] = tr("always");
+ addSubtitleMode[0] = tr("never");
+ addSubtitleMode[1] = tr("smart");
+ addSubtitleMode[2] = tr("always");
Setup();
}
@@ -56,6 +59,7 @@ void cTvGuideSetup::Setup(void) {
if (tmpConfig.instRecFolderMode == eFolderFixed) {
Add(new cMenuEditStrItem(cString::sprintf("%s%s", *indent, tr("Folder")), fixedFolder, sizeof(fixedFolder), trVDR(FileNameChars)));
}
+ Add(new cMenuEditStraItem(tr("Add episode to manual timers"), &tmpConfig.addSubtitleToTimer, 3, addSubtitleMode));
if (pRemoteTimers)
Add(new cMenuEditBoolItem(tr("Use Remotetimers"), &tmpConfig.useRemoteTimers));
@@ -114,6 +118,7 @@ void cTvGuideSetup::Store(void) {
SetupStore("useRemoteTimers", config.useRemoteTimers);
SetupStore("instRecFolderMode", config.instRecFolderMode);
SetupStore("instRecFixedFolder", config.instRecFixedFolder.c_str());
+ SetupStore("AddSubtitleToTimerMode", config.addSubtitleToTimer);
SetupStore("favWhatsOnNow", config.favWhatsOnNow);
SetupStore("favWhatsOnNext", config.favWhatsOnNext);
SetupStore("favUseTime1", config.favUseTime1);