summaryrefslogtreecommitdiff
path: root/stvw_cfg.c
diff options
context:
space:
mode:
Diffstat (limited to 'stvw_cfg.c')
-rwxr-xr-xstvw_cfg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/stvw_cfg.c b/stvw_cfg.c
index b56bbe8..d0a330c 100755
--- a/stvw_cfg.c
+++ b/stvw_cfg.c
@@ -33,7 +33,7 @@
cSmartTvConfig::cSmartTvConfig(string d): mConfigDir(d), mLog(NULL), mCfgFile(NULL),
mLogFile(), mMediaFolder(), mSegmentDuration(), mHasMinBufferTime(), mHasBitrateCorrection(),
- mLiveChannels(), mGroupSep(IGNORE), mServerAddress(""), mServerPort(8000), mRecCmds(false) {
+ mLiveChannels(), mGroupSep(IGNORE), mServerAddress(""), mServerPort(8000), mCmds(false) {
#ifndef STANDALONE
mLogFile= "";
@@ -149,9 +149,9 @@ void cSmartTvConfig::readConfig() {
continue;
}
- if (strcmp(attr, "RecCmds") == 0) {
+ if (strcmp(attr, "Commands") == 0) {
if (strcmp(value, "enable") == 0)
- mRecCmds = true;
+ mCmds = true;
continue;
}