mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user