mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
- add movieplayer.start & movieplayer.end script (untested)
- small cleanup git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1453 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -302,6 +302,11 @@ int CMoviePlayerGui::exec(CMenuTarget * parent, const std::string & actionKey)
|
||||
isMovieBrowser = false;
|
||||
minuteoffset = MINUTEOFFSET;
|
||||
secondoffset = minuteoffset / 60;
|
||||
|
||||
puts("[movieplayer.cpp] executing " MOVIEPLAYER_START_SCRIPT ".");
|
||||
if (system(MOVIEPLAYER_START_SCRIPT) != 0)
|
||||
perror(MOVIEPLAYER_START_SCRIPT " failed");
|
||||
|
||||
#if 0
|
||||
if (actionKey == "fileplayback") {
|
||||
cutNeutrino();
|
||||
@@ -366,6 +371,10 @@ int CMoviePlayerGui::exec(CMenuTarget * parent, const std::string & actionKey)
|
||||
frameBuffer->useBackground(true);
|
||||
frameBuffer->paintBackground();
|
||||
}
|
||||
|
||||
puts("[movieplayer.cpp] executing " MOVIEPLAYER_END_SCRIPT ".");
|
||||
if (system(MOVIEPLAYER_END_SCRIPT) != 0)
|
||||
perror(MOVIEPLAYER_END_SCRIPT " failed");
|
||||
|
||||
restoreNeutrino();
|
||||
CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO);
|
||||
|
Reference in New Issue
Block a user