infoviewer.cpp fix show stream metadata

This commit is contained in:
Jacek Jendrzej
2020-07-19 15:03:57 +02:00
parent c63c9e28a6
commit 5027197028

View File

@@ -945,7 +945,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 = "";