mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
Merge branch 'uncool/dvbsi++' commit '7ea3a20a808'
...needs buildfixing... Conflicts: data/Makefile.am src/driver/volume.cpp src/gui/infoviewer.cpp src/gui/miscsettings_menu.cpp src/gui/movieplayer.cpp src/gui/scan.cpp src/gui/widget/buttons.cpp src/gui/widget/menue.cpp src/gui/widget/stringinput.cpp src/neutrino.cpp src/nhttpd/tuxboxapi/coolstream/controlapi.cpp src/system/setting_helpers.cpp src/zapit/src/capmt.cpp
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
#include <global.h>
|
||||
#include <neutrino.h>
|
||||
#include <system/settings.h>
|
||||
#include <system/helpers.h>
|
||||
|
||||
#include <sys/timeb.h>
|
||||
#include <time.h>
|
||||
@@ -119,6 +120,11 @@ void SHTDCNT::shutdown_counter()
|
||||
sleep_cnt--;
|
||||
} else if(sleeptimer_active && !CNeutrinoApp::getInstance ()->recordingstatus) {
|
||||
sleeptimer_active = false;
|
||||
|
||||
puts("[SHTDCNT] executing " NEUTRINO_ENTER_INACTIVITY_SCRIPT ".");
|
||||
if (my_system(NEUTRINO_ENTER_INACTIVITY_SCRIPT) != 0)
|
||||
perror(NEUTRINO_ENTER_INACTIVITY_SCRIPT " failed");
|
||||
|
||||
printf("[SHTDCNT] sleep-timer send NeutrinoMessages::SLEEPTIMER\n");
|
||||
g_RCInput->postMsg(NeutrinoMessages::SLEEPTIMER, 1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user