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 */