From 81d457c614f4f11abcf1cddc0d62aa8c67817c46 Mon Sep 17 00:00:00 2001 From: Christian Schuett Date: Fri, 18 Apr 2014 19:44:41 +0200 Subject: [PATCH] movieplayer: add possibility to show movie infos --- src/gui/movieplayer.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index f42a2b361..c4af276b1 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -767,6 +767,8 @@ void CMoviePlayerGui::PlayFile(void) } if(restore) FileTime.show(position); + } else if (msg == NeutrinoMessages::SHOW_EPG) { + handleMovieBrowser(NeutrinoMessages::SHOW_EPG, position); } else if (msg == (neutrino_msg_t) g_settings.key_screenshot) { char ending[(sizeof(int)*2) + 6] = ".jpg"; @@ -1280,6 +1282,14 @@ void CMoviePlayerGui::handleMovieBrowser(neutrino_msg_t msg, int /*position*/) cSelectedMenuBookStart[5].selected = false; // clear for next bookmark menu } } + } else if (msg == NeutrinoMessages::SHOW_EPG && isMovieBrowser && p_movie_info) { + bool restore = FileTime.IsVisible(); + FileTime.kill(); + + cMovieInfo.showMovieInfo(*p_movie_info); + + if (restore) + FileTime.show(position); } return; }