From 92a1028aba96b12a61e9d296e37e1895dfdffde9 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Sat, 11 Sep 2021 23:50:05 +0200 Subject: [PATCH] - zapit: fix continue streaming of web channels, when leaving standby or start neutrino Signed-off-by: Thilo Graf --- src/zapit/src/zapit.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/zapit/src/zapit.cpp b/src/zapit/src/zapit.cpp index af8c2c993..a996676a2 100644 --- a/src/zapit/src/zapit.cpp +++ b/src/zapit/src/zapit.cpp @@ -524,8 +524,11 @@ bool CZapit::ZapIt(const t_channel_id channel_id, bool forupdate, bool startplay if (IS_WEBCHAN(newchannel->getChannelID()) && !newchannel->getUrl().empty()) { dvbsub_stop(); + if (current_channel && current_channel->getChannelID() == newchannel->getChannelID() && !newchannel->getScriptName().empty()){ INFO("[zapit] stop rezap to channel %s id %" PRIx64 ")", newchannel->getName().c_str(), newchannel->getChannelID()); + live_channel_id = newchannel->getChannelID(); + SendEvent(CZapitClient::EVT_WEBTV_ZAP_COMPLETE, &live_channel_id, sizeof(t_channel_id)); return true; }