mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
controlapi: modify channelname in tvg-name to satisfy parser
This is just a workaround. The parser should be fixed.
Origin commit data
------------------
Branch: ni/coolstream
Commit: fd44c47cb5
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-02-17 (Mon, 17 Feb 2020)
Origin message was:
------------------
- controlapi: modify channelname in tvg-name to satisfy parser
This is just a workaround. The parser should be fixed.
------------------
This commit was generated by Migit
This commit is contained in:
@@ -3369,9 +3369,10 @@ void CControlAPI::xmltvm3uCGI(CyhookHandler *hh)
|
||||
{
|
||||
CZapitChannel *channel = chanlist[j];
|
||||
std::string bouq_name = g_bouquetManager->Bouquets[i]->bName;
|
||||
std::string chan_name = channel->getName();
|
||||
std::string chan_id_short = string_printf(PRINTF_CHANNEL_ID_TYPE_NO_LEADING_ZEROS, channel->getChannelID() & 0xFFFFFFFFFFFFULL);
|
||||
result += "#EXTINF:-1 tvg-id=\"" + chan_id_short + "\"";
|
||||
result += " tvg-name=\"" + channel->getName() + "\"";
|
||||
result += " tvg-name=\"" + str_replace(",", ".", chan_name) + "\"";
|
||||
if (!NeutrinoAPI->getLogoFile(channel->getChannelID()).empty())
|
||||
result += " tvg-logo=\"" + host + NeutrinoAPI->getLogoFile(channel->getChannelID()) + "\"";
|
||||
else
|
||||
|
Reference in New Issue
Block a user