mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
nhttpd controlapi: change for subchannel to subchannel zap
Origin commit data
------------------
Branch: ni/coolstream
Commit: c8f0c68cf6
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2014-11-06 (Thu, 06 Nov 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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