mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 07:22:57 +02:00
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:
@@ -48,6 +48,7 @@
|
|||||||
#include <driver/radiotext.h>
|
#include <driver/radiotext.h>
|
||||||
#include <zapit/capmt.h>
|
#include <zapit/capmt.h>
|
||||||
#include <zapit/zapit.h>
|
#include <zapit/zapit.h>
|
||||||
|
#include <gui/infoviewer.h>
|
||||||
#include <gui/movieplayer.h>
|
#include <gui/movieplayer.h>
|
||||||
#include <gui/pictureviewer.h>
|
#include <gui/pictureviewer.h>
|
||||||
#include <eitd/sectionsd.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);
|
tm_struct = localtime(&next_start_time);
|
||||||
snprintf(End, sizeof(End), "%02d:%02d", tm_struct->tm_hour, tm_struct->tm_min);
|
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)
|
else if (parseID == NeutrinoModes::mode_audio)
|
||||||
{
|
{
|
||||||
|
@@ -213,6 +213,8 @@ class CInfoViewer : public sigc::trackable
|
|||||||
int getSwitchMode() {return zap_mode;}
|
int getSwitchMode() {return zap_mode;}
|
||||||
void resetSwitchMode() {setSwitchMode(IV_MODE_DEFAULT);}
|
void resetSwitchMode() {setSwitchMode(IV_MODE_DEFAULT);}
|
||||||
|
|
||||||
|
std::string get_livestreamInfo1() { return _livestreamInfo1; }
|
||||||
|
|
||||||
void changePB();
|
void changePB();
|
||||||
void ResetPB();
|
void ResetPB();
|
||||||
void showSNR();
|
void showSNR();
|
||||||
|
Reference in New Issue
Block a user