mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-09 22:58:28 +02:00
neutrino: rename standby flag (.ni-standby => .standby)
Origin commit data
------------------
Branch: ni/coolstream
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)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -5056,8 +5056,8 @@ void CNeutrinoApp::standbyMode( bool bOnOff, bool fromDeepStandby )
|
|||||||
lockStandbyCall = true;
|
lockStandbyCall = true;
|
||||||
|
|
||||||
if( bOnOff ) {
|
if( bOnOff ) {
|
||||||
//NI set standby flag
|
// set standby flag
|
||||||
if ( FILE *f = fopen("/tmp/.ni-standby", "w") )
|
if (FILE *f = fopen("/tmp/.standby", "w"))
|
||||||
fclose(f);
|
fclose(f);
|
||||||
|
|
||||||
#ifdef ENABLE_GRAPHLCD
|
#ifdef ENABLE_GRAPHLCD
|
||||||
@@ -5220,9 +5220,9 @@ void CNeutrinoApp::standbyMode( bool bOnOff, bool fromDeepStandby )
|
|||||||
InfoClock->enableInfoClock(true);
|
InfoClock->enableInfoClock(true);
|
||||||
InfoIcons->enableInfoIcons(true); //NI InfoIcons
|
InfoIcons->enableInfoIcons(true); //NI InfoIcons
|
||||||
|
|
||||||
//NI remove standby flag
|
// remove standby flag
|
||||||
if (access("/tmp/.ni-standby", F_OK) == 0)
|
if (access("/tmp/.standby", F_OK) == 0)
|
||||||
unlink("/tmp/.ni-standby");
|
unlink("/tmp/.standby");
|
||||||
|
|
||||||
g_audioMute->AudioMute(current_muted, true);
|
g_audioMute->AudioMute(current_muted, true);
|
||||||
StartSubtitles();
|
StartSubtitles();
|
||||||
|
Reference in New Issue
Block a user