mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
fix RC_tv/RC_radio handling; ...
if we have separate keys for that we don't need to switch mode
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1be1a64fcd
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-10-28 (Sat, 28 Oct 2017)
Origin message was:
------------------
- fix RC_tv/RC_radio handling; ...
if we have separate keys for that we don't need to switch mode
------------------
This commit was generated by Migit
This commit is contained in:
@@ -2938,7 +2938,18 @@ void CNeutrinoApp::RealRun()
|
||||
StartSubtitles();
|
||||
}
|
||||
else if (((msg == CRCInput::RC_tv) || (msg == CRCInput::RC_radio)) && (g_settings.key_tvradio_mode == (int)CRCInput::RC_nokey)) {
|
||||
switchTvRadioMode();//used with defined default tv/radio rc key
|
||||
if (msg == CRCInput::RC_tv)
|
||||
{
|
||||
if (mode == mode_radio)
|
||||
tvMode();
|
||||
}
|
||||
else if (msg == CRCInput::RC_radio)
|
||||
{
|
||||
if (mode == mode_tv || mode == mode_webtv)
|
||||
radioMode();
|
||||
}
|
||||
else
|
||||
switchTvRadioMode(); //used with defined default tv/radio rc key
|
||||
}
|
||||
/* in case key_subchannel_up/down redefined */
|
||||
else if( msg == CRCInput::RC_left || msg == CRCInput::RC_right) {
|
||||
|
Reference in New Issue
Block a user