From 1627d7209a651b54c915ec5dc83d07fd14039d39 Mon Sep 17 00:00:00 2001 From: TangoCash Date: Thu, 16 Jul 2020 19:11:23 +0200 Subject: [PATCH] fix script information if no real epg is present Signed-off-by: GetAway --- src/zapit/src/bouquets.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zapit/src/bouquets.cpp b/src/zapit/src/bouquets.cpp index a2a9da0b0..63240d4b6 100644 --- a/src/zapit/src/bouquets.cpp +++ b/src/zapit/src/bouquets.cpp @@ -958,7 +958,7 @@ void CBouquetManager::loadWebchannels(int mode) if (title && 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); CServiceManager::getInstance()->AddChannel(channel); channel->flags = CZapitChannel::UPDATED;