infoviewer.cpp fix show stream metadata

Origin commit data
------------------
Branch: ni/coolstream
Commit: 42a0858310
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2020-07-19 (Sun, 19 Jul 2020)


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

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2020-07-19 15:03:57 +02:00
committed by vanhofen
parent 4e03a4fe67
commit 18e25e560d

View File

@@ -984,7 +984,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)
if (web_mode && (cc->getEpgID() == 0 || (cc->getScriptName().empty() && info_CurrentNext.current_uniqueKey == 0 && info_CurrentNext.next_uniqueKey == 0)))
{
std::string livestreamInfo1 = "";
std::string livestreamInfo2 = "";