mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
neutrino: rename standby flag (.ni-standby => .standby)
Origin commit data
------------------
Commit: bbc8408ea9
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-07-05 (Mon, 05 Jul 2021)
Origin message was:
------------------
- neutrino: rename standby flag (.ni-standby => .standby)
This commit is contained in:
@@ -5056,8 +5056,8 @@ void CNeutrinoApp::standbyMode( bool bOnOff, bool fromDeepStandby )
|
||||
lockStandbyCall = true;
|
||||
|
||||
if( bOnOff ) {
|
||||
//NI set standby flag
|
||||
if ( FILE *f = fopen("/tmp/.ni-standby", "w") )
|
||||
// set standby flag
|
||||
if (FILE *f = fopen("/tmp/.standby", "w"))
|
||||
fclose(f);
|
||||
|
||||
#ifdef ENABLE_GRAPHLCD
|
||||
@@ -5220,9 +5220,9 @@ void CNeutrinoApp::standbyMode( bool bOnOff, bool fromDeepStandby )
|
||||
InfoClock->enableInfoClock(true);
|
||||
InfoIcons->enableInfoIcons(true); //NI InfoIcons
|
||||
|
||||
//NI remove standby flag
|
||||
if (access("/tmp/.ni-standby", F_OK) == 0)
|
||||
unlink("/tmp/.ni-standby");
|
||||
// remove standby flag
|
||||
if (access("/tmp/.standby", F_OK) == 0)
|
||||
unlink("/tmp/.standby");
|
||||
|
||||
g_audioMute->AudioMute(current_muted, true);
|
||||
StartSubtitles();
|
||||
|
Reference in New Issue
Block a user