controlapi: add missing radio flag to xmltv.m3u

Origin commit data
------------------
Branch: ni/coolstream
Commit: 516de2d580
Author: vanhofen <vanhofen@gmx.de>
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
This commit is contained in:
vanhofen
2020-02-15 12:13:20 +01:00
parent 62584c28b3
commit b61792b69b

View File

@@ -3374,6 +3374,8 @@ void CControlAPI::xmltvm3uCGI(CyhookHandler *hh)
result += " tvg-logo=\"" + host + NeutrinoAPI->getLogoFile(channel->getChannelID()) + "\""; result += " tvg-logo=\"" + host + NeutrinoAPI->getLogoFile(channel->getChannelID()) + "\"";
else else
result += " tvg-logo=\"\""; result += " tvg-logo=\"\"";
if (mode == CZapitClient::MODE_RADIO)
result += " radio=\"true\"";
result += " group-prefix=\"" + std::string(hostname) + "\""; result += " group-prefix=\"" + std::string(hostname) + "\"";
result += " group-title=\"" + bouq_name + "\","; result += " group-title=\"" + bouq_name + "\",";
result += channel->getName() + "\n"; result += channel->getName() + "\n";