diff options
author | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2011-09-05 23:32:52 +0200 |
---|---|---|
committer | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2011-09-05 23:32:52 +0200 |
commit | c627b7432d23db7ebe090e7a4027c0267c19434e (patch) | |
tree | 48d9b44ae1565928c05c67797c7c74c0906c79a1 /pages/setup.ecpp | |
parent | c54f41fc59899a0f59b45bc500e99a080a12e2ac (diff) | |
download | vdr-plugin-live-c627b7432d23db7ebe090e7a4027c0267c19434e.tar.gz vdr-plugin-live-c627b7432d23db7ebe090e7a4027c0267c19434e.tar.bz2 |
Support for native recording length since VDR 1.7.21:
Applying a patch provided by ROFA:
As the new vdr-1.7.21 provides native interface for recording lenght,
there's no need to keep the "Show duration in 'Recordings'" setting
anymore - less the options the better. If users want to speed up the
recordings page, they must just upgrade to vdr-1.7.21+.
Diffstat (limited to 'pages/setup.ecpp')
-rw-r--r-- | pages/setup.ecpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/pages/setup.ecpp b/pages/setup.ecpp index 02576ff..edb88a7 100644 --- a/pages/setup.ecpp +++ b/pages/setup.ecpp @@ -21,7 +21,6 @@ using namespace std; string startscreen; string theme; string localnetmask; - string showRecDuration; string showLogo; string useAjax; string showInfoBox; @@ -65,7 +64,6 @@ if (!cUser::CurrentUserHasRightTo(UR_EDITSETUP)) LiveSetup().SetScheduleDuration(scheduleDuration); LiveSetup().SetStartScreen(startscreen); LiveSetup().SetTheme(theme); - LiveSetup().SetShowRecDuration(!showRecDuration.empty()); LiveSetup().SetShowLogo(!showLogo.empty()); LiveSetup().SetUseAjax(!useAjax.empty()); if (LiveSetup().GetUseAjax()) { @@ -96,7 +94,6 @@ if (!cUser::CurrentUserHasRightTo(UR_EDITSETUP)) startscreen = LiveSetup().GetStartScreen(); theme = LiveSetup().GetTheme(); localnetmask = LiveSetup().GetLocalNetMask(); - showRecDuration = LiveSetup().GetShowRecDuration() ? "1" : ""; showLogo = LiveSetup().GetShowLogo() ? "1" : ""; useAjax = LiveSetup().GetUseAjax() ? "1" : ""; showInfoBox = LiveSetup().GetShowInfoBox() ? "1" : ""; @@ -183,12 +180,6 @@ if (!cUser::CurrentUserHasRightTo(UR_EDITSETUP)) </td> </tr> <tr> - <td class="label leftcol"><div class="withmargin"><$ tr("Show duration in 'Recordings'") $>:</div></td> - <td class="rightcol"> - <input type="checkbox" name="showRecDuration" id="showRecDuration" value="1" <%cpp> CHECKIF(!showRecDuration.empty()); </%cpp>/> - </td> - </tr> - <tr> <td class="label leftcol"><div class="withmargin"><$ tr("Use ajax technology") $>:</div></td> <td class="rightcol"> <input type="checkbox" name="useAjax" id="useAjax" value="1" <%cpp> CHECKIF(!useAjax.empty()); </%cpp> onclick="changeduseajax(this)"/> |