mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
try to fix loop rezap with lua script
Origin commit data
------------------
Commit: 4fcea5bfd5
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-02-01 (Wed, 01 Feb 2017)
This commit is contained in:
@@ -515,6 +515,11 @@ bool CZapit::ZapIt(const t_channel_id channel_id, bool forupdate, bool startplay
|
||||
|
||||
if (IS_WEBTV(newchannel->getChannelID()) && !newchannel->getUrl().empty()) {
|
||||
dvbsub_stop();
|
||||
if (current_channel->getChannelID() == newchannel->getChannelID() && !newchannel->getScriptName().empty()){
|
||||
INFO("[zapit] stop rezap to channel %s id %" PRIx64 ")", newchannel->getName().c_str(), newchannel->getChannelID());
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!IS_WEBTV(live_channel_id))
|
||||
CCamManager::getInstance()->Stop(live_channel_id, CCamManager::PLAY);
|
||||
|
||||
|
Reference in New Issue
Block a user