m_bMyVideoPlaylistShuffle = false;
m_bMyVideoNavFlatten = false;
m_bStartVideoWindowed = false;
- m_bAddonAutoUpdate = false;
+ m_bAddonAutoUpdate = true;
m_bAddonNotifications = true;
m_nVolumeLevel = 0;
GetInteger(pElement, "systemtotaluptime", m_iSystemTimeTotalUp, 0, 0, INT_MAX);
GetInteger(pElement, "httpapibroadcastlevel", m_HttpApiBroadcastLevel, 0, 0, 255);
GetInteger(pElement, "httpapibroadcastport", m_HttpApiBroadcastPort, 8278, 1, 65535);
+ XMLUtils::GetBoolean(pElement, "addonautoupdate", m_bAddonAutoUpdate);
+ XMLUtils::GetBoolean(pElement, "addonnotifications", m_bAddonNotifications);
}
pElement = pRootElement->FirstChildElement("defaultvideosettings");
GetFloat(pElement, "subtitledelay", m_defaultVideoSettings.m_SubtitleDelay, 0.0f, -10.0f, 10.0f);
XMLUtils::GetBoolean(pElement, "autocrop", m_defaultVideoSettings.m_Crop);
XMLUtils::GetBoolean(pElement, "nonlinstretch", m_defaultVideoSettings.m_CustomNonLinStretch);
- XMLUtils::GetBoolean(pElement, "addonautoupdate", m_bAddonAutoUpdate);
- XMLUtils::GetBoolean(pElement, "addonnotifications", m_bAddonNotifications);
m_defaultVideoSettings.m_SubtitleCached = false;
}
XMLUtils::SetInt(pNode, "systemtotaluptime", m_iSystemTimeTotalUp);
XMLUtils::SetInt(pNode, "httpapibroadcastport", m_HttpApiBroadcastPort);
XMLUtils::SetInt(pNode, "httpapibroadcastlevel", m_HttpApiBroadcastLevel);
+ XMLUtils::SetBoolean(pNode, "addonautoupdate", m_bAddonAutoUpdate);
+ XMLUtils::SetBoolean(pNode, "addonnotifications", m_bAddonNotifications);
// default video settings
TiXmlElement videoSettingsNode("defaultvideosettings");
XMLUtils::SetFloat(pNode, "subtitledelay", m_defaultVideoSettings.m_SubtitleDelay);
XMLUtils::SetBoolean(pNode, "autocrop", m_defaultVideoSettings.m_Crop);
XMLUtils::SetBoolean(pNode, "nonlinstretch", m_defaultVideoSettings.m_CustomNonLinStretch);
- XMLUtils::SetBoolean(pNode, "addonautoupdate", m_bAddonAutoUpdate);
- XMLUtils::SetBoolean(pNode, "addonnotifications", m_bAddonNotifications);
// audio settings