lcd4l: accept NeutrinoModes::mode_webradio too

Origin commit data
------------------
Commit: 433b398ddd
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-12-01 (Fri, 01 Dec 2017)

Origin message was:
------------------
- lcd4l: accept NeutrinoModes::mode_webradio too
This commit is contained in:
vanhofen
2017-12-01 15:24:51 +01:00
parent 91b7b2f7ee
commit 6e8cf3c5b6

View File

@@ -667,7 +667,7 @@ void CLCD4l::ParseInfo(uint64_t parseID, bool newID, bool firstRun)
Layout = "standby";
}
#ifdef NI
else if ((g_settings.lcd4l_skin_radio) && (m_Mode == NeutrinoModes::mode_radio))
else if ((g_settings.lcd4l_skin_radio) && (m_Mode == NeutrinoModes::mode_radio || m_Mode == NeutrinoModes::mode_webradio))
{
Layout = "radio";
}
@@ -961,7 +961,7 @@ uint64_t CLCD4l::GetParseID()
m_Mode = (int) ID;
m_ModeChannel = 0;
if (ID == NeutrinoModes::mode_tv || ID == NeutrinoModes::mode_webtv || ID == NeutrinoModes::mode_radio)
if (ID == NeutrinoModes::mode_tv || ID == NeutrinoModes::mode_webtv || ID == NeutrinoModes::mode_radio || ID == NeutrinoModes::mode_webradio)
{
if (!(g_RemoteControl->subChannels.empty()) && (g_RemoteControl->selected_subchannel > 0))
m_ModeChannel = 2;