diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index 47c7bd84d..d50662d47 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -1285,13 +1285,19 @@ void CMoviePlayerGui::handleMovieBrowser(neutrino_msg_t msg, int /*position*/) } } } else if (msg == NeutrinoMessages::SHOW_EPG && p_movie_info) { + CTimeOSD::mode m_mode = FileTime.getMode(); bool restore = FileTime.IsVisible(); - FileTime.kill(); + if (restore) + FileTime.kill(); + InfoClock->enableInfoClock(false); cMovieInfo.showMovieInfo(*p_movie_info); - if (restore) - FileTime.show(position); + InfoClock->enableInfoClock(true); + if (restore) { + FileTime.setMode(m_mode); + FileTime.update(position, duration); + } } return; } diff --git a/src/gui/timeosd.h b/src/gui/timeosd.h index 3b030a861..b46fdbecd 100644 --- a/src/gui/timeosd.h +++ b/src/gui/timeosd.h @@ -58,5 +58,7 @@ class CTimeOSD : public CComponentsFrmClock bool IsVisible() {return m_mode != MODE_HIDE;} void update(int position, int duration); void switchMode(int position, int duration); + mode getMode() { return m_mode; }; + void setMode (mode mode_) { m_mode = mode_; }; }; #endif