- movieplayer: remove NeutrinoMessages::SHOW_EPG handling from handleMovieBrowser() function

This isn't any moviebrowser function. Use showMovieInfo() instead of this.

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2018-07-23 00:13:36 +02:00
committed by Thilo Graf
parent 0f6fdd4a93
commit fb38d30f9a

View File

@@ -1916,7 +1916,7 @@ void CMoviePlayerGui::PlayFileLoop(void)
update_lcd = true;
#endif
} else if (msg == NeutrinoMessages::SHOW_EPG) {
handleMovieBrowser(NeutrinoMessages::SHOW_EPG, position);
showMovieInfo();
} else if (msg == NeutrinoMessages::EVT_SUBT_MESSAGE) {
showSubtitle(data);
} else if (msg == NeutrinoMessages::ANNOUNCE_RECORD ||
@@ -2571,10 +2571,6 @@ void CMoviePlayerGui::handleMovieBrowser(neutrino_msg_t msg, int /*position*/)
cMovieInfo.saveMovieInfo(*p_movie_info); /* save immediately in xml file */
}
}
} else if (msg == NeutrinoMessages::SHOW_EPG && p_movie_info) {
disableOsdElements(NO_MUTE);
g_EpgData->show_mp(p_movie_info, position, duration);
enableOsdElements(NO_MUTE);
}
return;
}