movieplayer: add possibility to show movie infos

Origin commit data
------------------
Branch: ni/coolstream
Commit: 81d457c614
Author: Christian Schuett <Gaucho316@hotmail.com>
Date: 2014-04-18 (Fri, 18 Apr 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Christian Schuett
2014-04-18 19:44:41 +02:00
committed by Jacek Jendrzej
parent db9b32c1f6
commit 5a00b8c351

View File

@@ -767,6 +767,8 @@ void CMoviePlayerGui::PlayFile(void)
} }
if(restore) if(restore)
FileTime.show(position); FileTime.show(position);
} else if (msg == NeutrinoMessages::SHOW_EPG) {
handleMovieBrowser(NeutrinoMessages::SHOW_EPG, position);
} else if (msg == (neutrino_msg_t) g_settings.key_screenshot) { } else if (msg == (neutrino_msg_t) g_settings.key_screenshot) {
char ending[(sizeof(int)*2) + 6] = ".jpg"; 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 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; return;
} }