mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
- rework multimedia-menu code; cleanup from many unused code
This commit is contained in:
@@ -2733,19 +2733,10 @@ void CNeutrinoApp::RealRun()
|
||||
as.exec(NULL, "-1");
|
||||
StartSubtitles();
|
||||
}
|
||||
#if 0
|
||||
else if( (msg == CRCInput::RC_audio) && g_settings.audio_run_player) {
|
||||
//open mediaplayer menu in audio mode, user can select between audioplayer and internetradio
|
||||
CMediaPlayerMenu * media = CMediaPlayerMenu::getInstance();
|
||||
media->setMenuTitel(LOCALE_MAINMENU_AUDIOPLAYER);
|
||||
media->setUsageMode(CMediaPlayerMenu::MODE_AUDIO);
|
||||
media->exec(NULL, "");
|
||||
}
|
||||
#endif
|
||||
else if( msg == CRCInput::RC_video || msg == CRCInput::RC_play ) {
|
||||
//open moviebrowser via media player menu object
|
||||
if (g_settings.recording_type != CNeutrinoApp::RECORDING_OFF)
|
||||
CMediaPlayerMenu::getInstance()->exec(NULL,"movieplayer");
|
||||
CMediaPlayerMenu::getInstance()->exec(NULL, "moviebrowser");
|
||||
}
|
||||
else if( ( msg == CRCInput::RC_help ) || ( msg == CRCInput::RC_info) ||
|
||||
( msg == NeutrinoMessages::SHOW_INFOBAR ) )
|
||||
|
Reference in New Issue
Block a user