mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +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())
|
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