mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
The last replayed recording is now stored in setup.conf, which allows the blue "Resume" key in the main menu to work even after a restart of VDR
This commit is contained in:
parent
c984204944
commit
904903f8d5
2
HISTORY
2
HISTORY
@ -7525,3 +7525,5 @@ Video Disk Recorder Revision History
|
|||||||
Mair).
|
Mair).
|
||||||
- Absolute jumps when replaying a recording (via the Red key) are now only performed
|
- Absolute jumps when replaying a recording (via the Red key) are now only performed
|
||||||
if an actual value has been entered (suggested by Ulf Kiener).
|
if an actual value has been entered (suggested by Ulf Kiener).
|
||||||
|
- The last replayed recording is now stored in setup.conf, which allows the blue
|
||||||
|
"Resume" key in the main menu to work even after a restart of VDR.
|
||||||
|
5
config.c
5
config.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: config.c 2.31 2012/12/06 09:00:23 kls Exp $
|
* $Id: config.c 2.32 2013/01/17 14:50:51 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
@ -13,6 +13,7 @@
|
|||||||
#include "device.h"
|
#include "device.h"
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
#include "interface.h"
|
#include "interface.h"
|
||||||
|
#include "menu.h"
|
||||||
#include "plugin.h"
|
#include "plugin.h"
|
||||||
#include "recording.h"
|
#include "recording.h"
|
||||||
|
|
||||||
@ -672,6 +673,7 @@ bool cSetup::Parse(const char *Name, const char *Value)
|
|||||||
else if (!strcasecmp(Name, "ChannelsWrap")) ChannelsWrap = atoi(Value);
|
else if (!strcasecmp(Name, "ChannelsWrap")) ChannelsWrap = atoi(Value);
|
||||||
else if (!strcasecmp(Name, "ShowChannelNamesWithSource")) ShowChannelNamesWithSource = atoi(Value);
|
else if (!strcasecmp(Name, "ShowChannelNamesWithSource")) ShowChannelNamesWithSource = atoi(Value);
|
||||||
else if (!strcasecmp(Name, "EmergencyExit")) EmergencyExit = atoi(Value);
|
else if (!strcasecmp(Name, "EmergencyExit")) EmergencyExit = atoi(Value);
|
||||||
|
else if (!strcasecmp(Name, "LastReplayed")) cReplayControl::SetRecording(Value);
|
||||||
else
|
else
|
||||||
return false;
|
return false;
|
||||||
return true;
|
return true;
|
||||||
@ -777,6 +779,7 @@ bool cSetup::Save(void)
|
|||||||
Store("ChannelsWrap", ChannelsWrap);
|
Store("ChannelsWrap", ChannelsWrap);
|
||||||
Store("ShowChannelNamesWithSource", ShowChannelNamesWithSource);
|
Store("ShowChannelNamesWithSource", ShowChannelNamesWithSource);
|
||||||
Store("EmergencyExit", EmergencyExit);
|
Store("EmergencyExit", EmergencyExit);
|
||||||
|
Store("LastReplayed", cReplayControl::LastReplayed());
|
||||||
|
|
||||||
Sort();
|
Sort();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user