mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
- infoviewer: try to fix showLivestreamInfo() for audiostreams
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -940,8 +940,8 @@ void CInfoViewer::setInfobarTimeout(int timeout_ext)
|
|||||||
bool CInfoViewer::showLivestreamInfo()
|
bool CInfoViewer::showLivestreamInfo()
|
||||||
{
|
{
|
||||||
CZapitChannel * cc = CZapit::getInstance()->GetCurrentChannel();
|
CZapitChannel * cc = CZapit::getInstance()->GetCurrentChannel();
|
||||||
if (CNeutrinoApp::getInstance()->getMode() == NeutrinoMessages::mode_webtv &&
|
bool web_mode = (CNeutrinoApp::getInstance()->getMode() == NeutrinoMessages::mode_webtv || CNeutrinoApp::getInstance()->getMode() == NeutrinoMessages::mode_webradio);
|
||||||
cc->getEpgID() == 0 && !cc->getScriptName().empty()) {
|
if (web_mode && cc->getEpgID() == 0 && !cc->getScriptName().empty()) {
|
||||||
std::string livestreamInfo1 = "";
|
std::string livestreamInfo1 = "";
|
||||||
std::string livestreamInfo2 = "";
|
std::string livestreamInfo2 = "";
|
||||||
std::string tmp1 = "";
|
std::string tmp1 = "";
|
||||||
|
Reference in New Issue
Block a user