Merge branch 'cst-next' into nmp-cst-next

Origin commit data
------------------
Commit: 16afe5c81e
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-28 (Thu, 28 Jan 2016)
This commit is contained in:
Michael Liebmann
2016-01-28 14:17:14 +01:00

View File

@@ -231,6 +231,7 @@ CNeutrinoApp::CNeutrinoApp()
SetupFrameBuffer();
mode = mode_unknown;
lastMode = mode_unknown;
channelList = NULL;
TVchannelList = NULL;
RADIOchannelList = NULL;
@@ -1780,6 +1781,7 @@ void CNeutrinoApp::InitZapper()
int tvmode = CZapit::getInstance()->getMode() & CZapitClient::MODE_TV;
lastChannelMode = tvmode ? g_settings.channel_mode : g_settings.channel_mode_radio;
mode = tvmode ? mode_tv : mode_radio;
lastMode = mode;
SDTreloadChannels = false;
channelsInit();
@@ -3321,6 +3323,10 @@ int CNeutrinoApp::handleMsg(const neutrino_msg_t _msg, neutrino_msg_data_t data)
if(mode != mode_standby)
standbyMode( true );
}
if((data & mode_mask)== mode_upnp) {
lastMode=mode;
mode=mode_upnp;
}
if((data & mode_mask)== mode_audio) {
lastMode=mode;
mode=mode_audio;