lcd4linux: fix first start

Origin commit data
------------------
Branch: ni/coolstream
Commit: e4f3e6faaf
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-05-31 (Mon, 31 May 2021)

Origin message was:
------------------
- lcd4linux: fix first start

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-05-31 23:23:43 +02:00
parent 162657050c
commit 29e55a8eec
2 changed files with 6 additions and 5 deletions

View File

@@ -625,7 +625,7 @@ void CLCD4l::ParseInfo(uint64_t parseID, bool newID, bool firstRun)
/* ----------------------------------------------------------------- */
if (newID || parseID == NeutrinoModes::mode_audio || parseID == NeutrinoModes::mode_ts)
if (firstRun || newID || parseID == NeutrinoModes::mode_audio || parseID == NeutrinoModes::mode_ts)
{
std::string Service = "";
int ChannelNr = 0;
@@ -812,6 +812,7 @@ void CLCD4l::ParseInfo(uint64_t parseID, bool newID, bool firstRun)
case 1:
Layout = DisplayType + "large";
break;
case 0:
default:
Layout = DisplayType + "standard";
}