mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
- infoviewer: an addition to 14dcdc36e3
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -1147,7 +1147,7 @@ void cGLCD::Run(void)
|
|||||||
|
|
||||||
if (Epg.empty() && (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webtv || CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webradio))
|
if (Epg.empty() && (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webtv || CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webradio))
|
||||||
{
|
{
|
||||||
g_InfoViewer->get_livestreamInfo();
|
g_InfoViewer->init_livestreamInfo();
|
||||||
if (g_InfoViewer->get_livestreamInfo1() == "RESOLUTION=1x1") // comes from best_bitrate_m3u8.lua
|
if (g_InfoViewer->get_livestreamInfo1() == "RESOLUTION=1x1") // comes from best_bitrate_m3u8.lua
|
||||||
Epg = g_InfoViewer->get_livestreamInfo2();
|
Epg = g_InfoViewer->get_livestreamInfo2();
|
||||||
else
|
else
|
||||||
|
@@ -980,7 +980,7 @@ void CLCD4l::ParseInfo(uint64_t parseID, bool newID, bool firstRun)
|
|||||||
{
|
{
|
||||||
if (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webtv || CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webradio)
|
if (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webtv || CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webradio)
|
||||||
{
|
{
|
||||||
g_InfoViewer->get_livestreamInfo();
|
g_InfoViewer->init_livestreamInfo();
|
||||||
if (g_InfoViewer->get_livestreamInfo1() == "RESOLUTION=1x1") // comes from best_bitrate_m3u8.lua
|
if (g_InfoViewer->get_livestreamInfo1() == "RESOLUTION=1x1") // comes from best_bitrate_m3u8.lua
|
||||||
{
|
{
|
||||||
Event = g_InfoViewer->get_livestreamInfo2();
|
Event = g_InfoViewer->get_livestreamInfo2();
|
||||||
|
@@ -206,7 +206,7 @@ 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);}
|
||||||
|
|
||||||
void get_livestreamInfo() { initLiveStreamInfo(); }
|
void init_livestreamInfo() { initLiveStreamInfo(); }
|
||||||
std::string get_livestreamInfo1() { return _livestreamInfo1; }
|
std::string get_livestreamInfo1() { return _livestreamInfo1; }
|
||||||
std::string get_livestreamInfo2() { return _livestreamInfo2; }
|
std::string get_livestreamInfo2() { return _livestreamInfo2; }
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user