Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit b51ab27a9c289ebf504f45f48845ed09fef01b3d 1 parent 953d2b1
@ace20022 ace20022 authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  xbmc/Application.cpp
View
2  xbmc/Application.cpp
@@ -763,6 +763,8 @@ bool CApplication::Create()
CLog::Log(LOGINFO, "load language info file: %s", strLangInfoPath.c_str());
g_langInfo.Load(strLangInfoPath);
+ g_langInfo.SetAudioLanguage(CSettings::Get().GetString("locale.audiolanguage"));
+ g_langInfo.SetSubtitleLanguage(CSettings::Get().GetString("locale.subtitlelanguage"));
CStdString strLanguagePath = "special://xbmc/language/";
Please sign in to comment.
Something went wrong with that request. Please try again.