neutrino: fix tv/radio switch for coolstream; ...

the TV/Radio key returns RC_tv. So we can't use RC_radio code here.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 5b122aefd1
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-17 (Fri, 17 Nov 2017)

Origin message was:
------------------
- neutrino: fix tv/radio switch for coolstream; ...

the TV/Radio key returns RC_tv. So we can't use RC_radio code here.


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-11-17 09:17:40 +01:00
parent cd00e434b4
commit ea710f44e1

View File

@@ -2990,6 +2990,7 @@ void CNeutrinoApp::RealRun()
StartSubtitles();
}
else if (((msg == CRCInput::RC_tv) || (msg == CRCInput::RC_radio)) && (g_settings.key_tvradio_mode == (int)CRCInput::RC_nokey)) {
#if HAVE_ARM_HARDWARE
if (msg == CRCInput::RC_tv)
{
if (mode == mode_radio || mode == mode_webradio)
@@ -3001,6 +3002,7 @@ void CNeutrinoApp::RealRun()
radioMode();
}
else
#endif
switchTvRadioMode(); //used with defined default tv/radio rc key
}
/* in case key_subchannel_up/down redefined */