mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
No longer stopping Transfer Mode or replay immediately when the Power button is pressed
This commit is contained in:
parent
425daa4ca5
commit
a05b921e29
@ -876,6 +876,7 @@ Niko Tarnanen <niko.tarnanen@hut.fi>
|
||||
Rolf Ahrenberg <rahrenbe@cc.hut.fi>
|
||||
for translating OSD texts to the Finnish language
|
||||
for fixing internationalization of the text for "Setup/DVB/Audio language(s)"
|
||||
for making pressing the Power button not stop Transfer Mode or replay immediately
|
||||
|
||||
Ralf Klueber <ralf.klueber@vodafone.com>
|
||||
for reporting a bug in cutting a recording if there is only a single editing mark
|
||||
|
2
HISTORY
2
HISTORY
@ -3559,3 +3559,5 @@ Video Disk Recorder Revision History
|
||||
session (thanks to Mirko Dölle).
|
||||
- Now dropping EPG events that have a zero start time or duration (thanks to
|
||||
Oliver Endriss).
|
||||
- No longer stopping Transfer Mode or replay immediately when the Power button
|
||||
is pressed (thanks to Rolf Ahrenberg).
|
||||
|
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.205 2005/05/26 10:04:58 kls Exp $
|
||||
* $Id: vdr.c 1.206 2005/05/26 10:30:18 kls Exp $
|
||||
*/
|
||||
|
||||
#include <getopt.h>
|
||||
@ -744,7 +744,6 @@ int main(int argc, char *argv[])
|
||||
// Power off:
|
||||
case kPower: isyslog("Power button pressed");
|
||||
DELETENULL(Menu);
|
||||
cControl::Shutdown();
|
||||
Temp = NULL;
|
||||
if (!Shutdown) {
|
||||
Skins.Message(mtError, tr("Can't shutdown - option '-s' not given!"));
|
||||
@ -906,6 +905,7 @@ int main(int argc, char *argv[])
|
||||
if (WatchdogTimeout > 0)
|
||||
signal(SIGALRM, SIG_IGN);
|
||||
if (Interface->Confirm(tr("Press any key to cancel shutdown"), UserShutdown ? 5 : SHUTDOWNWAIT, true)) {
|
||||
cControl::Shutdown();
|
||||
int Channel = timer ? timer->Channel()->Number() : 0;
|
||||
const char *File = timer ? timer->File() : "";
|
||||
Delta = Next - time(NULL); // compensates for Confirm() timeout
|
||||
|
Loading…
Reference in New Issue
Block a user