From b61792b69bbbbfbabce6eea940e9e45cf4b3c342 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 15 Feb 2020 12:13:20 +0100 Subject: [PATCH] controlapi: add missing radio flag to xmltv.m3u Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/516de2d580cef62b4f75191f7827013b284ce5d9 Author: vanhofen Date: 2020-02-15 (Sat, 15 Feb 2020) Origin message was: ------------------ - controlapi: add missing radio flag to xmltv.m3u ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/nhttpd/tuxboxapi/controlapi.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nhttpd/tuxboxapi/controlapi.cpp b/src/nhttpd/tuxboxapi/controlapi.cpp index c4ebe6697..6dfd3fadf 100644 --- a/src/nhttpd/tuxboxapi/controlapi.cpp +++ b/src/nhttpd/tuxboxapi/controlapi.cpp @@ -3374,6 +3374,8 @@ void CControlAPI::xmltvm3uCGI(CyhookHandler *hh) result += " tvg-logo=\"" + host + NeutrinoAPI->getLogoFile(channel->getChannelID()) + "\""; else result += " tvg-logo=\"\""; + if (mode == CZapitClient::MODE_RADIO) + result += " radio=\"true\""; result += " group-prefix=\"" + std::string(hostname) + "\""; result += " group-title=\"" + bouq_name + "\","; result += channel->getName() + "\n";