mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +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())
|
||||
{
|
||||
t_channel_id current_channel = NeutrinoAPI->Zapit->getCurrentServiceID();
|
||||
CSectionsdClient::responseGetCurrentNextInfoChannelID currentNextInfo;
|
||||
CEitManager::getInstance()->getCurrentNextServiceKey(current_channel, currentNextInfo);
|
||||
if (currentNextInfo.flags & CSectionsdClient::epgflags::current_has_linkagedescriptors)
|
||||
extern CRemoteControl * g_RemoteControl;
|
||||
if (!g_RemoteControl->subChannels.empty())
|
||||
{
|
||||
NeutrinoAPI->ZapToSubService(hh->ParamList["subchannel"].c_str());
|
||||
hh->SendOk();
|
||||
|
Reference in New Issue
Block a user