From a67e774bfceb4dfaa280e1834dda91f49411a3d9 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Sat, 26 Jan 2019 17:05:43 +0100 Subject: [PATCH] - movieplayer: move MOVIEPLAYER_START/END_SCRIPT defines to movieplayer Signed-off-by: Thilo Graf --- src/global.h | 2 -- src/gui/movieplayer.cpp | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/global.h b/src/global.h index 1939cf234..df7ee1f0d 100644 --- a/src/global.h +++ b/src/global.h @@ -39,8 +39,6 @@ #define NEUTRINO_ENTER_INACTIVITY_SCRIPT CONFIGDIR "/inactivity.on" #define NEUTRINO_ENTER_DEEPSTANDBY_SCRIPT CONFIGDIR "/deepstandby.on" #define NEUTRINO_LEAVE_DEEPSTANDBY_SCRIPT CONFIGDIR "/deepstandby.off" -#define MOVIEPLAYER_START_SCRIPT CONFIGDIR "/movieplayer.start" -#define MOVIEPLAYER_END_SCRIPT CONFIGDIR "/movieplayer.end" #define NEUTRINO_ENTER_FLASH_SCRIPT CONFIGDIR "/flash.start" #define NEUTRINO_APP_START_SCRIPT CONFIGDIR "/neutrino.start" diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index f21d42045..e7a654098 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -91,6 +91,9 @@ #define LCD_MODE CVFD::MODE_MOVIE #endif +#define MOVIEPLAYER_START_SCRIPT CONFIGDIR "/movieplayer.start" +#define MOVIEPLAYER_END_SCRIPT CONFIGDIR "/movieplayer.end" + extern cVideo * videoDecoder; extern CRemoteControl *g_RemoteControl; /* neutrino.cpp */