mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
src/gui/infoviewer.cpp: fix webtv info after xmltv epg changes, THX TangoCash
This commit is contained in:
@@ -949,7 +949,7 @@ bool CInfoViewer::showLivestreamInfo()
|
|||||||
{
|
{
|
||||||
CZapitChannel * cc = CZapit::getInstance()->GetCurrentChannel();
|
CZapitChannel * cc = CZapit::getInstance()->GetCurrentChannel();
|
||||||
bool web_mode = (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webtv || CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webradio);
|
bool web_mode = (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webtv || CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_webradio);
|
||||||
if (web_mode && (cc->getEpgID() == 0 || (cc->getScriptName().empty() && info_CurrentNext.current_uniqueKey == 0 && info_CurrentNext.next_uniqueKey == 0)))
|
if (web_mode && (info_CurrentNext.current_uniqueKey == 0 && info_CurrentNext.next_uniqueKey == 0))
|
||||||
{
|
{
|
||||||
std::string livestreamInfo1 = "";
|
std::string livestreamInfo1 = "";
|
||||||
std::string livestreamInfo2 = "";
|
std::string livestreamInfo2 = "";
|
||||||
|
Reference in New Issue
Block a user