diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2020-07-15 17:03:38 +0200 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2020-07-15 17:38:01 +0200 |
commit | 0400ff1b029baee8900e465712903b5ddf6c5f07 (patch) | |
tree | 9b77c798904b21949c9469799b917b4ff0257788 /setup.c | |
parent | a1619348198d1b485aaebc91176403c15dbec47d (diff) | |
download | vdr-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.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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); |