From ebd24e73f9d70ce37b5ea8bb3780c24950063724 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Wed, 12 Apr 2023 23:13:55 +0200 Subject: [PATCH] - infoviewer: an addition to 14dcdc36e3a8f8d82fc628ebcce40410437bc6a5 Signed-off-by: Thilo Graf --- src/driver/glcd/glcd.cpp | 2 +- src/driver/lcd4l.cpp | 2 +- src/gui/infoviewer.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/driver/glcd/glcd.cpp b/src/driver/glcd/glcd.cpp index b8690ea12..903f8ee3c 100644 --- a/src/driver/glcd/glcd.cpp +++ b/src/driver/glcd/glcd.cpp @@ -1147,7 +1147,7 @@ void cGLCD::Run(void) 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 Epg = g_InfoViewer->get_livestreamInfo2(); else diff --git a/src/driver/lcd4l.cpp b/src/driver/lcd4l.cpp index f87f4742c..17a40dfaf 100644 --- a/src/driver/lcd4l.cpp +++ b/src/driver/lcd4l.cpp @@ -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) { - g_InfoViewer->get_livestreamInfo(); + g_InfoViewer->init_livestreamInfo(); if (g_InfoViewer->get_livestreamInfo1() == "RESOLUTION=1x1") // comes from best_bitrate_m3u8.lua { Event = g_InfoViewer->get_livestreamInfo2(); diff --git a/src/gui/infoviewer.h b/src/gui/infoviewer.h index bd53cb2a2..c65096e88 100644 --- a/src/gui/infoviewer.h +++ b/src/gui/infoviewer.h @@ -206,7 +206,7 @@ class CInfoViewer : public sigc::trackable int getSwitchMode() {return zap_mode;} void resetSwitchMode() {setSwitchMode(IV_MODE_DEFAULT);} - void get_livestreamInfo() { initLiveStreamInfo(); } + void init_livestreamInfo() { initLiveStreamInfo(); } std::string get_livestreamInfo1() { return _livestreamInfo1; } std::string get_livestreamInfo2() { return _livestreamInfo2; }