2014-01-13, 19:46
When using language name to get 3-char code for Croatian, the function returns 'scr'. This function is used from ModuleXbmc.cpp, convertLanguage function when format = ISO_639_2.
According to Wikipedia, 'scr' is not ISO_639_2 code for Croatian, 'hrv' is.
The problem is there are two entries for Croatian in the g_iso639_2 array, first is scr, second is hrv. Putting hrv first, solves the problem.
Haven't checked, but there might be other languages with this problem. This problem causes OpenSubtitles service never to find Croatian subtitles.
According to Wikipedia, 'scr' is not ISO_639_2 code for Croatian, 'hrv' is.
The problem is there are two entries for Croatian in the g_iso639_2 array, first is scr, second is hrv. Putting hrv first, solves the problem.
Haven't checked, but there might be other languages with this problem. This problem causes OpenSubtitles service never to find Croatian subtitles.