mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
The 'Commands' menu now automatically assigns number keys as hotkeys to the commands
This commit is contained in:
parent
986f467993
commit
ae3f18dd57
10
FORMATS
10
FORMATS
@ -134,13 +134,9 @@ Video Disk Recorder File Formats
|
|||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
1 Check for new mail: /usr/local/bin/checkmail 2>&1
|
Check for new mail: /usr/local/bin/checkmail 2>&1
|
||||||
2 CPU status : /usr/local/bin/cpustatus 2>&1
|
CPU status : /usr/local/bin/cpustatus 2>&1
|
||||||
3 Disk space : df -h | grep '/video' | awk '{ print 100 - $5 "% free"; }'
|
Disk space : df -h | grep '/video' | awk '{ print 100 - $5 "% free"; }'
|
||||||
|
|
||||||
If the first non-blank character of the 'title' is a digit in the range
|
|
||||||
1..9, the command can be selected directly by pressing the respective numerical
|
|
||||||
key on the remote control.
|
|
||||||
|
|
||||||
* svdrphosts.conf
|
* svdrphosts.conf
|
||||||
|
|
||||||
|
3
HISTORY
3
HISTORY
@ -1111,3 +1111,6 @@ Video Disk Recorder Revision History
|
|||||||
is not available by default on some Linux distributions, whereas 'killall' is.
|
is not available by default on some Linux distributions, whereas 'killall' is.
|
||||||
Please check if your system provides 'killall' - if it doesn't, please change
|
Please check if your system provides 'killall' - if it doesn't, please change
|
||||||
this back in 'runvdr' and report this (thanks to Achim Lange).
|
this back in 'runvdr' and report this (thanks to Achim Lange).
|
||||||
|
- The "Commands" menu now automatically assigns number keys as hotkeys to the
|
||||||
|
commands. If you have preceeded your commands with digits you may want to
|
||||||
|
remove these from your 'commands.conf' file.
|
||||||
|
4
menu.c
4
menu.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: menu.c 1.168 2002/03/16 14:03:38 kls Exp $
|
* $Id: menu.c 1.169 2002/03/16 16:44:15 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "menu.h"
|
#include "menu.h"
|
||||||
@ -2210,7 +2210,7 @@ cMenuCommands::cMenuCommands(void)
|
|||||||
cCommand *command;
|
cCommand *command;
|
||||||
|
|
||||||
while ((command = Commands.Get(i)) != NULL) {
|
while ((command = Commands.Get(i)) != NULL) {
|
||||||
Add(new cOsdItem(command->Title()));
|
Add(new cOsdItem(hk(command->Title())));
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user