mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
nhttpd controlapi: change for subchannel to subchannel zap
This commit is contained in:
@@ -1673,10 +1673,8 @@ void CControlAPI::ZaptoCGI(CyhookHandler *hh)
|
|||||||
}
|
}
|
||||||
else if (!hh->ParamList["subchannel"].empty())
|
else if (!hh->ParamList["subchannel"].empty())
|
||||||
{
|
{
|
||||||
t_channel_id current_channel = NeutrinoAPI->Zapit->getCurrentServiceID();
|
extern CRemoteControl * g_RemoteControl;
|
||||||
CSectionsdClient::responseGetCurrentNextInfoChannelID currentNextInfo;
|
if (!g_RemoteControl->subChannels.empty())
|
||||||
CEitManager::getInstance()->getCurrentNextServiceKey(current_channel, currentNextInfo);
|
|
||||||
if (currentNextInfo.flags & CSectionsdClient::epgflags::current_has_linkagedescriptors)
|
|
||||||
{
|
{
|
||||||
NeutrinoAPI->ZapToSubService(hh->ParamList["subchannel"].c_str());
|
NeutrinoAPI->ZapToSubService(hh->ParamList["subchannel"].c_str());
|
||||||
hh->SendOk();
|
hh->SendOk();
|
||||||
|
Reference in New Issue
Block a user