adzap: add possibility to write status data to /tmp/adzap.data

Origin commit data
------------------
Branch: ni/coolstream
Commit: 00e5cf6759
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-29 (Mon, 29 Feb 2016)

Origin message was:
------------------
- adzap: add possibility to write status data to /tmp/adzap.data

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2016-02-29 10:31:22 +01:00
parent f277c6d889
commit 69338f8e51
8 changed files with 64 additions and 9 deletions

View File

@@ -830,6 +830,7 @@ int CNeutrinoApp::loadSetup(const char * fname)
g_settings.epg_search_history_size = g_settings.epg_search_history.size();
g_settings.adzap_zapBackPeriod = configfile.getInt32("adzap_zapBackPeriod", 180);
g_settings.adzap_writeData = configfile.getInt32("adzap_writeData", 0);
// USERMENU -> in system/settings.h
//-------------------------------------------
@@ -1317,6 +1318,7 @@ void CNeutrinoApp::saveSetup(const char * fname)
configfile.setInt64("startchannelradio_id", g_settings.startchannelradio_id);
configfile.setInt32("uselastchannel", g_settings.uselastchannel);
configfile.setInt32("adzap_zapBackPeriod", g_settings.adzap_zapBackPeriod);
configfile.setInt32("adzap_writeData", g_settings.adzap_writeData);
//epg search
g_settings.epg_search_history_size = g_settings.epg_search_history.size();
if (g_settings.epg_search_history_size > g_settings.epg_search_history_max)