- controlapi: add missing radio flag to xmltv.m3u

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2020-02-15 12:13:20 +01:00
committed by Thilo Graf
parent 033b863d56
commit 5616fc79f7

View File

@@ -3358,6 +3358,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";