infoviewer: an addition to e415a8feb2a652b634db25ca2cda5fb8f39ba5eb

Origin commit data
------------------
Branch: ni/coolstream
Commit: 0c2e7fb3b0
Author: vanhofen <vanhofen@gmx.de>
Date: 2023-04-12 (Wed, 12 Apr 2023)

Origin message was:
------------------
- infoviewer: an addition to e415a8feb2a652b634db25ca2cda5fb8f39ba5eb

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2023-04-12 23:13:55 +02:00
parent f2f046f62e
commit 080406f912
3 changed files with 3 additions and 3 deletions

View File

@@ -1162,7 +1162,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

View File

@@ -975,7 +975,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();

View File

@@ -217,7 +217,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; }