lcd4l: show event in webtv/webradio mode

Origin commit data
------------------
Branch: ni/coolstream
Commit: bb1086ab9d
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-09-30 (Wed, 30 Sep 2020)

Origin message was:
------------------
- lcd4l: show event in webtv/webradio mode

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2020-09-30 21:07:36 +02:00
parent 78ae6ee482
commit e875b96269
2 changed files with 9 additions and 0 deletions

View File

@@ -48,6 +48,7 @@
#include <driver/radiotext.h>
#include <zapit/capmt.h>
#include <zapit/zapit.h>
#include <gui/infoviewer.h>
#include <gui/movieplayer.h>
#include <gui/pictureviewer.h>
#include <eitd/sectionsd.h>
@@ -884,6 +885,12 @@ void CLCD4l::ParseInfo(uint64_t parseID, bool newID, bool firstRun)
tm_struct = localtime(&next_start_time);
snprintf(End, sizeof(End), "%02d:%02d", tm_struct->tm_hour, tm_struct->tm_min);
}
if (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webtv || CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webradio)
{
// FIXME: Doesn't work with timing.infobar_tv/radio=0
Event = g_InfoViewer->get_livestreamInfo1();
}
}
else if (parseID == NeutrinoModes::mode_audio)
{