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:
TangoCash
2016-03-25 08:46:25 +01:00
committed by vanhofen
parent 0fb94672e2
commit af9609c562

View File

@@ -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();