mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-09 14:48:28 +02:00
fix script information if no real epg is present
Origin commit data
------------------
Commit: e4f379fb0e
Author: TangoCash <eric@loxat.de>
Date: 2020-07-15 (Wed, 15 Jul 2020)
This commit is contained in:
@@ -958,7 +958,7 @@ void CBouquetManager::loadWebchannels(int mode)
|
|||||||
if (title && url)
|
if (title && url)
|
||||||
{
|
{
|
||||||
t_channel_id chid = create_channel_id64(0, 0, 0, 0, 0, url);
|
t_channel_id chid = create_channel_id64(0, 0, 0, 0, 0, url);
|
||||||
if (epg_id == 0) epg_id = chid;
|
if ((epg_id == 0) && (script == NULL)) epg_id = chid;
|
||||||
CZapitChannel * channel = new CZapitChannel(title, chid, url, desc, epg_id, script, mode);
|
CZapitChannel * channel = new CZapitChannel(title, chid, url, desc, epg_id, script, mode);
|
||||||
CServiceManager::getInstance()->AddChannel(channel);
|
CServiceManager::getInstance()->AddChannel(channel);
|
||||||
channel->flags = CZapitChannel::UPDATED;
|
channel->flags = CZapitChannel::UPDATED;
|
||||||
|
Reference in New Issue
Block a user