mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
neutrino: some more mode_radio/mode_webradio fixes
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Branch: ni/coolstream
Commit: d84331689a
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-06 (Mon, 06 Nov 2017)
Origin message was:
------------------
- neutrino: some more mode_radio/mode_webradio fixes
Signed-off-by: Thilo Graf <dbt@novatux.de>
------------------
This commit was generated by Migit
This commit is contained in:
@@ -4457,15 +4457,15 @@ int CNeutrinoApp::exec(CMenuTarget* parent, const std::string & actionKey)
|
||||
}
|
||||
else if(actionKey=="ytplayback" || actionKey=="tsmoviebrowser" || actionKey=="fileplayback") {
|
||||
frameBuffer->Clear();
|
||||
if(mode == NeutrinoMessages::mode_radio )
|
||||
if (mode == NeutrinoMessages::mode_radio || mode == NeutrinoMessages::mode_webradio)
|
||||
frameBuffer->stopFrame();
|
||||
int _mode = mode;
|
||||
int prev_mode = mode;
|
||||
// FIXME CMediaPlayerMenu::getInstance()->exec(NULL, actionKey); ??
|
||||
CMoviePlayerGui::getInstance().exec(NULL, actionKey);
|
||||
if(_mode == NeutrinoMessages::mode_radio )
|
||||
if (prev_mode == NeutrinoMessages::mode_radio || prev_mode == NeutrinoMessages::mode_webradio)
|
||||
frameBuffer->showFrame("radiomode.jpg");
|
||||
#if 0
|
||||
else if (_mode == mode_webtv)
|
||||
else if (prev_mode == mode_webtv)
|
||||
tvMode(true);
|
||||
#endif
|
||||
return menu_return::RETURN_EXIT_ALL;
|
||||
|
Reference in New Issue
Block a user