Skip to content
This repository
Browse code

[LangInfo] Load preferred audio/subtitle setting during the startup.

  • Loading branch information...
commit b51ab27a9c289ebf504f45f48845ed09fef01b3d 1 parent 953d2b1
Andreas Zelend authored September 27, 2013

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. 2  xbmc/Application.cpp
2  xbmc/Application.cpp
@@ -763,6 +763,8 @@ bool CApplication::Create()
763 763
 
764 764
   CLog::Log(LOGINFO, "load language info file: %s", strLangInfoPath.c_str());
765 765
   g_langInfo.Load(strLangInfoPath);
  766
+  g_langInfo.SetAudioLanguage(CSettings::Get().GetString("locale.audiolanguage"));
  767
+  g_langInfo.SetSubtitleLanguage(CSettings::Get().GetString("locale.subtitlelanguage"));
766 768
 
767 769
   CStdString strLanguagePath = "special://xbmc/language/";
768 770
 

0 notes on commit b51ab27

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