mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Changed "Menu button closes" to "Menu key closes"; cleaned up "button" vs. "key" in MANUAL
This commit is contained in:
		| @@ -1756,6 +1756,7 @@ Marko M | ||||
|  for suggesting to ignore k_Repeat when deciding whether the same key has been | ||||
|  pressed in string input fields | ||||
|  for fixing missing ',' in the Italian and Polish OSD texts | ||||
|  for pointing out that "Menu button closes" should actually be "Menu key closes" | ||||
|  | ||||
| Patrick Rother <krd-vdr@gulu.net> | ||||
|  for reporting a bug in defining timers that only differ in the day of week | ||||
|   | ||||
							
								
								
									
										6
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								HISTORY
									
									
									
									
									
								
							| @@ -5115,3 +5115,9 @@ Video Disk Recorder Revision History | ||||
|   up at a particular time (thanks to Udo Richter). | ||||
| - The HUP signal now forces a restart of VDR (thanks to Udo Richter). | ||||
| - cThread::EmergencyExit() has been replaced by ShutdownHandler.RequestEmergencyExit(). | ||||
| - Several references to "button" in a remote control context have been changed | ||||
|   to "key" (based on a report from Marko M<>kel<65> regarding the "Menu button closes" | ||||
|   text). The "MenuButtonCloses" parameter in 'setup.conf' has therefore been | ||||
|   renamed to "MenuKeyCloses", accordingly. This will result in an "unknown config | ||||
|   parameter: MenuButtonCloses" error message in the log file, so you may want to | ||||
|   remove that entry from your 'setup.conf' file. | ||||
|   | ||||
							
								
								
									
										76
									
								
								MANUAL
									
									
									
									
									
								
							
							
						
						
									
										76
									
								
								MANUAL
									
									
									
									
									
								
							| @@ -112,7 +112,7 @@ Version 1.4 | ||||
|   "Ok" here opens the "Edit timer" menu. | ||||
|  | ||||
|   Textual options, like channel names or recording file names, can be edited | ||||
|   by pressing the "Right" button (which puts brackets around the current | ||||
|   by pressing the "Right" key (which puts brackets around the current | ||||
|   character as in "[R]TL"), selecting the desired character position with | ||||
|   "Left" and "Right", and changing the character with the "Up" and "Down" | ||||
|   keys. "Ok" then confirms the changes. The "Red" key toggles between | ||||
| @@ -120,7 +120,7 @@ Version 1.4 | ||||
|   insert and overwrite mode. The "Yellow" key deletes the current character | ||||
|   (or the one to the right of the cursor in insert mode). | ||||
|  | ||||
|   The "Red", "Green", "Yellow" and "Blue" buttons have special meanings | ||||
|   The "Red", "Green", "Yellow" and "Blue" keys have special meanings | ||||
|   in various menus and are listed at the bottom of the on-screen-display. | ||||
|  | ||||
|   At any point in the menu system, pressing the "Menu" key again will | ||||
| @@ -137,22 +137,22 @@ Version 1.4 | ||||
|   displays detailed information about the selected programme. Pressing "Ok" | ||||
|   again (or pressing "Back") gets you back into the "Schedule" menu. | ||||
|  | ||||
|   From the "Schedule" menu, the "Green" button opens the "What's on now?" | ||||
|   From the "Schedule" menu, the "Green" key opens the "What's on now?" | ||||
|   menu, which displays all programmes that are currently running on all | ||||
|   channels that broadcast their programme information on the current | ||||
|   transponder, or from channels that have been current lately (VDR stores | ||||
|   all information it gathers in an internal list). The more channels you | ||||
|   have been switching through lately, the longer this list will be. | ||||
|   The "Yellow" button opens the "What's on next?" menu, which lists all | ||||
|   The "Yellow" key opens the "What's on next?" menu, which lists all | ||||
|   programmes that will start next on all channels. | ||||
|  | ||||
|   Inside the "What's on now/next?" menus the "Green" button toggles between | ||||
|   the "Now" and "Next" display, and the "Yellow" button takes you to the | ||||
|   Inside the "What's on now/next?" menus the "Green" key toggles between | ||||
|   the "Now" and "Next" display, and the "Yellow" key takes you to the | ||||
|   "Schedule" menu of the current channel in the list. | ||||
|  | ||||
|   The "Red" button allows you to instantly program a timer to record the | ||||
|   selected programme. After pressing this button, the current event will | ||||
|   be marked with 'T', and the function of the "Red" button will change from | ||||
|   The "Red" key allows you to instantly program a timer to record the | ||||
|   selected programme. After pressing this key, the current event will | ||||
|   be marked with 'T', and the function of the "Red" key will change from | ||||
|   "Record" to "Timer". Pressing "Red" on an event marked with 'T' will open | ||||
|   the "Edit timer" menu for this timer, where you can make any modifications | ||||
|   you may want to apply. Note that the Start and Stop time are offset by the | ||||
| @@ -167,7 +167,7 @@ Version 1.4 | ||||
|   directly into the "Edit timer" menu in order to allow the user to make further | ||||
|   changes to timer parameters before the actual recording starts. | ||||
|  | ||||
|   The "Blue" button can be pressed to switch to the channel with the selected | ||||
|   The "Blue" key can be pressed to switch to the channel with the selected | ||||
|   programme. | ||||
|  | ||||
|   The following markers in these menus give additional information about the | ||||
| @@ -192,14 +192,14 @@ Version 1.4 | ||||
|  | ||||
|   1. With no On Screen Menu displayed press the "Up" or "Down" key to switch | ||||
|      to the next higher or lower channel. | ||||
|   2. Press the "Menu" button to bring up the On Screen Menu, select "Channels" | ||||
|   2. Press the "Menu" key to bring up the On Screen Menu, select "Channels" | ||||
|      and browse through the list with the "Up" and "Down" key; to switch to the | ||||
|      selected channel press "Ok". | ||||
|   3. Directly type in the channel number with the numeric keys ('0'..'9'); | ||||
|      if no key is pressed for about one second, the digits collected so | ||||
|      far will define the channel number. | ||||
|   4. From the "Now", "Next" and "Event" menus (accessible through the "Schedule" | ||||
|      menu) by pressing the "Blue" button. | ||||
|      menu) by pressing the "Blue" key. | ||||
|  | ||||
|   Pressing the '0' key in normal viewing mode toggles between the current and | ||||
|   the previous channel. A channel is considered "previous" if it has been | ||||
| @@ -210,15 +210,15 @@ Version 1.4 | ||||
|   'current/next' information will be displayed below this line. This display | ||||
|   automatically goes away after about five seconds, or if any key is pressed. | ||||
|   To bring up the channel display without switching channels you can press | ||||
|   the "Ok" button. | ||||
|   the "Ok" key. | ||||
|  | ||||
| * Selecting audio tracks | ||||
|  | ||||
|   If the current channel or recording provides different audio tracks (for | ||||
|   different languages or Dolby Digital), the "Green" button in the "VDR" menu can | ||||
|   different languages or Dolby Digital), the "Green" key in the "VDR" menu can | ||||
|   be pressed to bring up the "Audio" menu. Within this menu, the "Up" and "Down" | ||||
|   keys can be used to switch between the audio tracks. If your remote control has | ||||
|   a dedicated "Audio" button, the first press of that button brings up the "Audio" | ||||
|   a dedicated "Audio" key, the first press of that key brings up the "Audio" | ||||
|   menu, and every further press switches to the next available audio track. | ||||
|  | ||||
|   The "Left" and "Right" keys can be used to switch between "mono left", "stereo" | ||||
| @@ -242,7 +242,7 @@ Version 1.4 | ||||
|   If the 'channels.conf' file contains "group separators" you can switch | ||||
|   through these groups by pressing the "Left" and "Right" key while no | ||||
|   menu is being displayed. The channel display will show the name of the | ||||
|   group, and if you press the "Ok" button while the group name is being | ||||
|   group, and if you press the "Ok" key while the group name is being | ||||
|   displayed, you will switch to the first channel of that group. | ||||
|  | ||||
|   Channel groups can be whatever you decide them to be. You can either | ||||
| @@ -251,11 +251,11 @@ Version 1.4 | ||||
|  | ||||
| * Instant Recording | ||||
|  | ||||
|   You can start recording the current channel by pressing the "Red" button | ||||
|   You can start recording the current channel by pressing the "Red" key | ||||
|   in the "VDR" menu. This will create a timer event named "@channelname" that | ||||
|   starts at the current time and by default records for 3 hours. | ||||
|   If you want to modify the recording time you need to edit the timer. | ||||
|   Stop instant recording by pressing the "Menu" button and selecting | ||||
|   Stop instant recording by pressing the "Menu" key and selecting | ||||
|   "Stop Recording", or by disabling the timer. The default priority, lifetime | ||||
|   and recording time can be defined in the "Setup/Recording" menu. | ||||
|  | ||||
| @@ -267,7 +267,7 @@ Version 1.4 | ||||
|   "Record") and immediately begin replaying that recording. Replay will be | ||||
|   put into "pause" mode, so you can attend to whatever it was that disturbed | ||||
|   your live viewing session. Once you're back, simply press the "Up" or "Play" | ||||
|   button and you'll be watching the current channel in time shift mode, right | ||||
|   key and you'll be watching the current channel in time shift mode, right | ||||
|   from the point where you left off. The instant recording VDR has started | ||||
|   will use the parameters for "Pause priority" and "Pause lifetime" as defined | ||||
|   in the "Setup/Recording" menu. Recording time will be the same as for | ||||
| @@ -277,12 +277,12 @@ Version 1.4 | ||||
| * Replaying a Recording | ||||
|  | ||||
|   All recordings are listed in the "Recordings" menu. Browse through the | ||||
|   list with the "Up" and "Down" button and press "Ok" (or the "Red" button) | ||||
|   list with the "Up" and "Down" key and press "Ok" (or the "Red" key) | ||||
|   to start playback. New recordings are marked with an '*'. | ||||
|   If the Setup parameter RecordingDirs has been set and there are recordings | ||||
|   from repeating timers organized in a subdirectory structure, only the | ||||
|   directory is displayed and it can be opened by pressing "Ok" (or the "Red" | ||||
|   button). A directory entry displays the total number of recordings within | ||||
|   key). A directory entry displays the total number of recordings within | ||||
|   that directory (and any possible subdirectory thereof) as well as the total | ||||
|   number of new recordings (as opposed to a recording's entry, which displays | ||||
|   the date and time of the recording). | ||||
| @@ -295,15 +295,15 @@ Version 1.4 | ||||
|   the order in which they were broadcast. | ||||
|  | ||||
|   Playback can be stopped via the "VDR" menu by selecting "Stop replaying", | ||||
|   or by pressing the "Blue" button outside the menu. | ||||
|   or by pressing the "Blue" key outside the menu. | ||||
|   A previously stopped playback session can be resumed by pressing the "Blue" | ||||
|   button in the "VDR" menu. | ||||
|   key in the "VDR" menu. | ||||
|  | ||||
| * Processing Recordings | ||||
|  | ||||
|   The configuration file 'reccmds.conf' can be used to define system commands | ||||
|   that can be applied to the recording that is currently highlighted in the | ||||
|   "Recordings" menu. The "Red" button in the "Recordings" menu opens the "Recording | ||||
|   "Recordings" menu. The "Red" key in the "Recordings" menu opens the "Recording | ||||
|   commands" menu if there are commands defined in the file 'reccmds.conf'. Pressing | ||||
|   one of the keys '1'..'9' in the "Recordings" menu executes the corresponding | ||||
|   command from 'reccmds.conf' (see also "Executing system commands" below). | ||||
| @@ -322,20 +322,20 @@ Version 1.4 | ||||
|     Right   Runs playback forward or backward at a higher speed; press | ||||
|             again to resume normal speed. If in Pause mode, runs forward or | ||||
|             backward at a slower speed; press again to return to pause mode. | ||||
|             Pressing and holding down the button performs the function until | ||||
|             the button is released again. | ||||
|             Pressing and holding down the key performs the function until | ||||
|             the key is released again. | ||||
|             If "Multi Speed Mode" has been enabled in the "Setup" menu, the | ||||
|             function of these buttons changes in a way that gives you three | ||||
|             function of these keys changes in a way that gives you three | ||||
|             fast and slow speeds, through which you can switch by pressing | ||||
|             the respective button several times. | ||||
|             the respective key several times. | ||||
|   - Red     Jump to a specific location. Enter the time you want to jump to | ||||
|             and then press "Left" or "Right" to jump relative to the current | ||||
|             position, "Up" to jump to an absolute position, and "Down" to | ||||
|             jump and pause at an absolute position. | ||||
|   - Green | ||||
|     Yellow  Skips about 60 seconds back or forward. | ||||
|             Pressing and holding down the button performs the function until | ||||
|             the button is released again. | ||||
|             Pressing and holding down the key performs the function until | ||||
|             the key is released again. | ||||
|   - Ok      Brings up the replay progress display, which shows the date, | ||||
|             time and title of the recording, a progress bar and the | ||||
|             current and total time of the recording. | ||||
| @@ -469,7 +469,7 @@ Version 1.4 | ||||
|   First day: The date of the first day when this timer shall start recording | ||||
|              (only available for repeating timers). | ||||
|  | ||||
|   A timer can also be programmed by pressing the "Red" button on the "Schedule", | ||||
|   A timer can also be programmed by pressing the "Red" key on the "Schedule", | ||||
|   "Now", "Next" or "Event" menus. | ||||
|  | ||||
| * Parameters in the "Setup" menu | ||||
| @@ -513,7 +513,7 @@ Version 1.4 | ||||
|   Info on channel switch = yes | ||||
|                          Turns the display of the current/next information on | ||||
|                          or off when switching the channel. The information is | ||||
|                          always displayed when pressing the "Ok" button in | ||||
|                          always displayed when pressing the "Ok" key in | ||||
|                          normal viewing mode. | ||||
|  | ||||
|   Timeout requested channel info = yes | ||||
| @@ -535,10 +535,10 @@ Version 1.4 | ||||
|                                (first) line of the list directly to the first (last) | ||||
|                                one. | ||||
|  | ||||
|   Menu button closes = no | ||||
|                          If set to "yes", pressing the "Menu" button while there is | ||||
|   Menu key closes = no | ||||
|                          If set to "yes", pressing the "Menu" key while there is | ||||
|                          anything displayed on the OSD will close the OSD. If set | ||||
|                          to "no", the "Menu" button will open the main menu after | ||||
|                          to "no", the "Menu" key will open the main menu after | ||||
|                          closing a temporary display, like, for instance, the channel | ||||
|                          display. | ||||
|  | ||||
| @@ -607,7 +607,7 @@ Version 1.4 | ||||
|                          different languages, the preferred languages are checked | ||||
|                          in the given order to decide which one to take. | ||||
|  | ||||
|   Scan                   The "Red" button in the "Setup/EPG" menu can be used to | ||||
|   Scan                   The "Red" key in the "Setup/EPG" menu can be used to | ||||
|                          force an EPG scan on a single DVB card system. If pressed, | ||||
|                          and the primary DVB device is currently not recording or | ||||
|                          replaying, it will loop through the transponders once and | ||||
| @@ -711,7 +711,7 @@ Version 1.4 | ||||
|                          yes = use it (and create subdirectories) | ||||
|  | ||||
|   Use VPS = 0            Defines whether a timer that is created from an EPG entry | ||||
|                          (by pressing the "Record" (red) button in the "Schedules" | ||||
|                          (by pressing the "Record" (red) key in the "Schedules" | ||||
|                          or "What's on now/next?" menu) will automatically use VPS | ||||
|                          if the event it is created for has a VPS time. | ||||
|  | ||||
| @@ -723,7 +723,7 @@ Version 1.4 | ||||
|  | ||||
|   Mark instant recording = yes | ||||
|                          Defines whether an "instant recording" (started by | ||||
|                          pressing the "Red" button in the "VDR" menu) will be | ||||
|                          pressing the "Red" key in the "VDR" menu) will be | ||||
|                          marked with a '@' character to make it distinguishable | ||||
|                          from timer recordings in the "Recordings" menu. | ||||
|  | ||||
|   | ||||
							
								
								
									
										8
									
								
								config.c
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								config.c
									
									
									
									
									
								
							| @@ -4,7 +4,7 @@ | ||||
|  * See the main source file 'vdr.c' for copyright information and | ||||
|  * how to reach the author. | ||||
|  * | ||||
|  * $Id: config.c 1.148 2007/02/24 13:29:52 kls Exp $ | ||||
|  * $Id: config.c 1.149 2007/02/25 11:27:24 kls Exp $ | ||||
|  */ | ||||
|  | ||||
| #include "config.h" | ||||
| @@ -222,7 +222,7 @@ cSetup::cSetup(void) | ||||
|   TimeoutRequChInfo = 1; | ||||
|   MenuScrollPage = 1; | ||||
|   MenuScrollWrap = 0; | ||||
|   MenuButtonCloses = 0; | ||||
|   MenuKeyCloses = 0; | ||||
|   MarkInstantRecord = 1; | ||||
|   strcpy(NameInstantRecord, "TITLE EPISODE"); | ||||
|   InstantRecordTime = 180; | ||||
| @@ -384,7 +384,7 @@ bool cSetup::Parse(const char *Name, const char *Value) | ||||
|   else if (!strcasecmp(Name, "TimeoutRequChInfo"))   TimeoutRequChInfo  = atoi(Value); | ||||
|   else if (!strcasecmp(Name, "MenuScrollPage"))      MenuScrollPage     = atoi(Value); | ||||
|   else if (!strcasecmp(Name, "MenuScrollWrap"))      MenuScrollWrap     = atoi(Value); | ||||
|   else if (!strcasecmp(Name, "MenuButtonCloses"))    MenuButtonCloses   = atoi(Value); | ||||
|   else if (!strcasecmp(Name, "MenuKeyCloses"))       MenuKeyCloses      = atoi(Value); | ||||
|   else if (!strcasecmp(Name, "MarkInstantRecord"))   MarkInstantRecord  = atoi(Value); | ||||
|   else if (!strcasecmp(Name, "NameInstantRecord"))   strn0cpy(NameInstantRecord, Value, MaxFileName); | ||||
|   else if (!strcasecmp(Name, "InstantRecordTime"))   InstantRecordTime  = atoi(Value); | ||||
| @@ -453,7 +453,7 @@ bool cSetup::Save(void) | ||||
|   Store("TimeoutRequChInfo",  TimeoutRequChInfo); | ||||
|   Store("MenuScrollPage",     MenuScrollPage); | ||||
|   Store("MenuScrollWrap",     MenuScrollWrap); | ||||
|   Store("MenuButtonCloses",   MenuButtonCloses); | ||||
|   Store("MenuKeyCloses",      MenuKeyCloses); | ||||
|   Store("MarkInstantRecord",  MarkInstantRecord); | ||||
|   Store("NameInstantRecord",  NameInstantRecord); | ||||
|   Store("InstantRecordTime",  InstantRecordTime); | ||||
|   | ||||
							
								
								
									
										4
									
								
								config.h
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								config.h
									
									
									
									
									
								
							| @@ -4,7 +4,7 @@ | ||||
|  * See the main source file 'vdr.c' for copyright information and | ||||
|  * how to reach the author. | ||||
|  * | ||||
|  * $Id: config.h 1.285 2007/02/24 13:23:12 kls Exp $ | ||||
|  * $Id: config.h 1.286 2007/02/25 11:26:53 kls Exp $ | ||||
|  */ | ||||
|  | ||||
| #ifndef __CONFIG_H | ||||
| @@ -206,7 +206,7 @@ public: | ||||
|   int TimeoutRequChInfo; | ||||
|   int MenuScrollPage; | ||||
|   int MenuScrollWrap; | ||||
|   int MenuButtonCloses; | ||||
|   int MenuKeyCloses; | ||||
|   int MarkInstantRecord; | ||||
|   char NameInstantRecord[MaxFileName]; | ||||
|   int InstantRecordTime; | ||||
|   | ||||
							
								
								
									
										4
									
								
								i18n.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								i18n.c
									
									
									
									
									
								
							| @@ -4,7 +4,7 @@ | ||||
|  * See the main source file 'vdr.c' for copyright information and | ||||
|  * how to reach the author. | ||||
|  * | ||||
|  * $Id: i18n.c 1.288 2007/02/25 10:11:26 kls Exp $ | ||||
|  * $Id: i18n.c 1.289 2007/02/25 11:26:29 kls Exp $ | ||||
|  * | ||||
|  * Translations provided by: | ||||
|  * | ||||
| @@ -3546,7 +3546,7 @@ const tI18nPhrase Phrases[] = { | ||||
|     "Scroll rundt", | ||||
|     "Z konce na za<7A><61>tek", | ||||
|   }, | ||||
|   { "Setup.OSD$Menu button closes", | ||||
|   { "Setup.OSD$Menu key closes", | ||||
|     "Menu-Taste schlie<69>t", | ||||
|     "Meni gumb zapre meni", | ||||
|     "Usare il bottone Menu per chiudere", | ||||
|   | ||||
							
								
								
									
										4
									
								
								menu.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								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.448 2007/02/25 09:51:53 kls Exp $ | ||||
|  * $Id: menu.c 1.449 2007/02/25 11:28:09 kls Exp $ | ||||
|  */ | ||||
|  | ||||
| #include "menu.h" | ||||
| @@ -2207,7 +2207,7 @@ void cMenuSetupOSD::Set(void) | ||||
|   Add(new cMenuEditBoolItem(tr("Setup.OSD$Timeout requested channel info"), &data.TimeoutRequChInfo)); | ||||
|   Add(new cMenuEditBoolItem(tr("Setup.OSD$Scroll pages"),           &data.MenuScrollPage)); | ||||
|   Add(new cMenuEditBoolItem(tr("Setup.OSD$Scroll wraps"),           &data.MenuScrollWrap)); | ||||
|   Add(new cMenuEditBoolItem(tr("Setup.OSD$Menu button closes"),     &data.MenuButtonCloses)); | ||||
|   Add(new cMenuEditBoolItem(tr("Setup.OSD$Menu key closes"),        &data.MenuKeyCloses)); | ||||
|   Add(new cMenuEditBoolItem(tr("Setup.OSD$Recording directories"),  &data.RecordingDirs)); | ||||
|   SetCurrent(Get(current)); | ||||
|   Display(); | ||||
|   | ||||
							
								
								
									
										4
									
								
								vdr.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								vdr.c
									
									
									
									
									
								
							| @@ -22,7 +22,7 @@ | ||||
|  * | ||||
|  * The project's page is at http://www.cadsoft.de/vdr | ||||
|  * | ||||
|  * $Id: vdr.c 1.284 2007/02/25 10:56:29 kls Exp $ | ||||
|  * $Id: vdr.c 1.285 2007/02/25 11:27:36 kls Exp $ | ||||
|  */ | ||||
|  | ||||
| #include <getopt.h> | ||||
| @@ -885,7 +885,7 @@ int main(int argc, char *argv[]) | ||||
|                   else | ||||
|                      WasOpen = false; | ||||
|                   } | ||||
|                if (!WasOpen || !WasMenu && !Setup.MenuButtonCloses) | ||||
|                if (!WasOpen || !WasMenu && !Setup.MenuKeyCloses) | ||||
|                   Menu = new cMenuMain; | ||||
|                } | ||||
|                break; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user