mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
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:
@@ -2990,6 +2990,7 @@ void CNeutrinoApp::RealRun()
|
|||||||
StartSubtitles();
|
StartSubtitles();
|
||||||
}
|
}
|
||||||
else if (((msg == CRCInput::RC_tv) || (msg == CRCInput::RC_radio)) && (g_settings.key_tvradio_mode == (int)CRCInput::RC_nokey)) {
|
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 (msg == CRCInput::RC_tv)
|
||||||
{
|
{
|
||||||
if (mode == mode_radio || mode == mode_webradio)
|
if (mode == mode_radio || mode == mode_webradio)
|
||||||
@@ -3001,6 +3002,7 @@ void CNeutrinoApp::RealRun()
|
|||||||
radioMode();
|
radioMode();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
#endif
|
||||||
switchTvRadioMode(); //used with defined default tv/radio rc key
|
switchTvRadioMode(); //used with defined default tv/radio rc key
|
||||||
}
|
}
|
||||||
/* in case key_subchannel_up/down redefined */
|
/* in case key_subchannel_up/down redefined */
|
||||||
|
Reference in New Issue
Block a user