mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
- lcd4l: show event in webtv/webradio mode
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -50,6 +50,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>
|
||||||
@@ -932,6 +933,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)
|
||||||
{
|
{
|
||||||
|
@@ -202,6 +202,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