mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
- zapit: fix continue streaming of web channels, when leaving standby or start neutrino
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -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()) {
|
if (IS_WEBCHAN(newchannel->getChannelID()) && !newchannel->getUrl().empty()) {
|
||||||
dvbsub_stop();
|
dvbsub_stop();
|
||||||
|
|
||||||
if (current_channel && current_channel->getChannelID() == newchannel->getChannelID() && !newchannel->getScriptName().empty()){
|
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());
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user