aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xbmc/GUISettings.cpp6
-rw-r--r--xbmc/Settings.cpp6
-rw-r--r--xbmc/VideoDatabase.cpp2
3 files changed, 7 insertions, 7 deletions
diff --git a/xbmc/GUISettings.cpp b/xbmc/GUISettings.cpp
index 2830d7c5f8..2843f5475f 100644
--- a/xbmc/GUISettings.cpp
+++ b/xbmc/GUISettings.cpp
@@ -942,12 +942,6 @@ void CGUISettings::LoadXML(TiXmlElement *pRootElement, bool hideSettings /* = fa
{
LoadFromXML(pRootElement, it, hideSettings);
}
- // setup logging...
- if (GetBool("debug.showloginfo"))
- {
- g_advancedSettings.m_logLevel = std::max(g_advancedSettings.m_logLevelHint, LOG_LEVEL_DEBUG_FREEMEM);
- CLog::Log(LOGNOTICE, "Enabled debug logging due to GUI setting (%d)", g_advancedSettings.m_logLevel);
- }
// Get hardware based stuff...
CLog::Log(LOGNOTICE, "Getting hardware information now...");
if (GetInt("audiooutput.mode") == AUDIO_DIGITAL && !g_audioConfig.HasDigitalOutput())
diff --git a/xbmc/Settings.cpp b/xbmc/Settings.cpp
index 0e7a548a09..746ceca9d4 100644
--- a/xbmc/Settings.cpp
+++ b/xbmc/Settings.cpp
@@ -825,6 +825,12 @@ bool CSettings::LoadSettings(const CStdString& strSettingsFile)
CLog::Log(LOGNOTICE, "Default Video Player: %s", g_advancedSettings.m_videoDefaultPlayer.c_str());
CLog::Log(LOGNOTICE, "Default Audio Player: %s", g_advancedSettings.m_audioDefaultPlayer.c_str());
+ // setup any logging...
+ if (g_guiSettings.GetBool("debug.showloginfo"))
+ {
+ g_advancedSettings.m_logLevel = std::max(g_advancedSettings.m_logLevelHint, LOG_LEVEL_DEBUG_FREEMEM);
+ CLog::Log(LOGNOTICE, "Enabled debug logging due to GUI setting (%d)", g_advancedSettings.m_logLevel);
+ }
return true;
}
diff --git a/xbmc/VideoDatabase.cpp b/xbmc/VideoDatabase.cpp
index 9ab8628468..34031dee6e 100644
--- a/xbmc/VideoDatabase.cpp
+++ b/xbmc/VideoDatabase.cpp
@@ -7159,7 +7159,7 @@ void CVideoDatabase::ExportToXML(const CStdString &xmlFile, bool singleFiles /*
{
if (singleFiles)
{
- CFileItem item(tvshow.m_strPath,false);
+ CFileItem item(tvshow.m_strPath, true);
if (!item.Exists())
CLog::Log(LOGDEBUG, "%s - Not exporting item %s as it does not exist", __FUNCTION__, tvshow.m_strPath.c_str());
else