Skip to content
Browse files

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

  • Loading branch information...
1 parent 953d2b1 commit b51ab27a9c289ebf504f45f48845ed09fef01b3d @ace20022 ace20022 committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 xbmc/Application.cpp
2 xbmc/Application.cpp
@@ -763,6 +763,8 @@ bool CApplication::Create()
CLog::Log(LOGINFO, "load language info file: %s", strLangInfoPath.c_str());
+ g_langInfo.SetAudioLanguage(CSettings::Get().GetString("locale.audiolanguage"));
+ g_langInfo.SetSubtitleLanguage(CSettings::Get().GetString("locale.subtitlelanguage"));
CStdString strLanguagePath = "special://xbmc/language/";

0 comments on commit b51ab27

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