Skip to content
This repository
Browse code

Fix: Always add m_discStubExtensions to m_videoExtensions

  • Loading branch information...
commit f26b0259e58575d4c35498616318d108f9ecbfac 1 parent cc88931
authored September 19, 2013

Showing 1 changed file with 5 additions and 4 deletions. Show diff stats Hide diff stats

  1. 9  xbmc/settings/AdvancedSettings.cpp
9  xbmc/settings/AdvancedSettings.cpp
@@ -434,6 +434,11 @@ bool CAdvancedSettings::Load()
434 434
   for (unsigned int i = 0; i < m_settingsFiles.size(); i++)
435 435
     ParseSettingsFile(m_settingsFiles[i]);
436 436
   ParseSettingsFile(CProfilesManager::Get().GetUserDataItem("advancedsettings.xml"));
  437
+
  438
+  // Add the list of disc stub extensions (if any) to the list of video extensions
  439
+  if (!m_discStubExtensions.IsEmpty())
  440
+    m_videoExtensions += "|" + m_discStubExtensions;
  441
+
437 442
   return true;
438 443
 }
439 444
 
@@ -954,10 +959,6 @@ void CAdvancedSettings::ParseSettingsFile(const CStdString &file)
954 959
   if (pExts)
955 960
     GetCustomExtensions(pExts, m_discStubExtensions);
956 961
 
957  
-  // Add the list of disc stub extensions (if any) to the list of video extensions
958  
-  if (!m_discStubExtensions.IsEmpty())
959  
-    m_videoExtensions += "|" + m_discStubExtensions;
960  
-
961 962
   m_vecTokens.clear();
962 963
   CLangInfo::LoadTokens(pRootElement->FirstChild("sorttokens"),m_vecTokens);
963 964
 

0 notes on commit f26b025

Please sign in to comment.
Something went wrong with that request. Please try again.