mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
add option to reload channels via webif without saving first
Origin commit data
------------------
Branch: ni/coolstream
Commit: 49762cac5c
Author: TangoCash <eric@loxat.de>
Date: 2016-03-25 (Fri, 25 Mar 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -2182,7 +2182,8 @@ void CControlAPI::ReloadPluginsCGI(CyhookHandler *hh)
|
||||
|
||||
void CControlAPI::ReloadChannelsCGI(CyhookHandler *hh)
|
||||
{
|
||||
CServiceManager::getInstance()->SaveServices(true, true);
|
||||
if(hh->ParamList["hardreload"].empty())
|
||||
CServiceManager::getInstance()->SaveServices(true, true);
|
||||
NeutrinoAPI->Zapit->reinitChannels();
|
||||
CNeutrinoApp::getInstance()->SDTreloadChannels = false;
|
||||
hh->SendOk();
|
||||
|
Reference in New Issue
Block a user