summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <kls (at) cadsoft (dot) de>2000-08-06 18:00:00 +0200
committerKlaus Schmidinger <kls (at) cadsoft (dot) de>2000-08-06 18:00:00 +0200
commit9b405778674d5325b225b32ab694d9216b099527 (patch)
treedbce3ee646e63439d0690ffbcdf6cf93d7314d25 /menu.c
parent1d22145c423f2524c7766b4ae30ee2c26174113d (diff)
downloadvdr-patch-lnbsharing-9b405778674d5325b225b32ab694d9216b099527.tar.gz
vdr-patch-lnbsharing-9b405778674d5325b225b32ab694d9216b099527.tar.bz2
Version 0.61vdr-0.61
- When scrolling through a list it now moves a full page up or down when the cursor reaches the top or bottom of the menu (thanks to Heino Goldenstein!). - Added missing '#include <sys/stat.h>' to recording.c. - The video directory can now be defined with the command line option -v. - There can now be more than one video directory (in case you have several disks). - Fixed learning key codes for PC keyboard. - New command line option '-l' to set the log level. - Times in timers.conf are now always printed with 4 digits (leading '0'). - Slow forward/back mode (thanks to Guido Fiala!). - The "Up" key in replay mode no longer restarts replay at the very beginning, but rather resumes normal replay mode after a "pause", "forward" or "backward" operation. Use the "Skip -60s" function repeatedly to go back to the beginning of the recording. - Improved reaction on user input in fast/slow forward/back modes. - No more upper limit for the value of 'Pnr'. - Checking if the video card is really a DVB card. - New SVDRP command UPDT to update an existing timer (or add a new one if it doesn't yet exist). - New version of the 'epg2timers' tool (with a modified channel list). - Bugfix in closing window in DEBUG_OSD mode.
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/menu.c b/menu.c
index 17a9b0b..15c8379 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c 1.20 2000/07/24 16:25:53 kls Exp $
+ * $Id: menu.c 1.22 2000/08/06 07:02:52 kls Exp $
*/
#include "menu.h"
@@ -512,7 +512,7 @@ cMenuEditChannel::cMenuEditChannel(int Index)
Add(new cMenuEditIntItem( "Vpid", &data.vpid, 0, 10000)); //TODO exact limits???
Add(new cMenuEditIntItem( "Apid", &data.apid, 0, 10000)); //TODO exact limits???
Add(new cMenuEditIntItem( "CA", &data.ca, 0, cDvbApi::NumDvbApis));
- Add(new cMenuEditIntItem( "Pnr", &data.pnr, 0, 10000)); //TODO exact limits???
+ Add(new cMenuEditIntItem( "Pnr", &data.pnr, 0));
}
}
@@ -1243,7 +1243,7 @@ cReplayControl::cReplayControl(void)
cReplayControl::~cReplayControl()
{
Hide();
- dvbApi->StopReplay();
+ dvbApi->Stop();
}
void cReplayControl::SetRecording(const char *FileName, const char *Title)
@@ -1278,13 +1278,13 @@ eOSState cReplayControl::ProcessKey(eKeys Key)
if (visible)
shown = dvbApi->ShowProgress(!shown) || shown;
switch (Key) {
- case kUp: dvbApi->Skip(-INT_MAX); break;
- case kDown: dvbApi->PauseReplay(); break;
+ case kUp: dvbApi->Play(); break;
+ case kDown: dvbApi->Pause(); break;
case kBlue: Hide();
- dvbApi->StopReplay();
+ dvbApi->Stop();
return osEnd;
- case kLeft: dvbApi->FastRewind(); break;
- case kRight: dvbApi->FastForward(); break;
+ case kLeft: dvbApi->Backward(); break;
+ case kRight: dvbApi->Forward(); break;
case kGreen: dvbApi->Skip(-60); break;
case kYellow: dvbApi->Skip(60); break;
case kMenu: Hide(); return osMenu; // allow direct switching to menu