src/gui/infoviewer.cpp: fix webtv info after xmltv epg changes, THX TangoCash

Origin commit data
------------------
Branch: ni/coolstream
Commit: ee8e6786cb
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2021-09-05 (Sun, 05 Sep 2021)


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

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2021-09-05 13:59:59 +02:00
committed by vanhofen
parent 509dfa4982
commit e2b73d2b9b

View File

@@ -988,7 +988,7 @@ bool CInfoViewer::showLivestreamInfo()
{
CZapitChannel * cc = CZapit::getInstance()->GetCurrentChannel();
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 livestreamInfo2 = "";