If title contains Man, language changes to Mandingo (man)
The recent feature to set language based on file name has caused me more trouble than saved me time.
For example a movie with the title of The.Man.With.The.Yellow.Umbrella.S01E20.1080p.2009.English.mkv
Would result would be that the subtitles and audio track would be changed to Mandingo. I didn't even know that was a language.
Limit Auto Language matching to the top 30 or 40 languages used (by default) https://en.wikipedia.org/wiki/List_of_languages_by_number_of_native_speakers That would fix this issue, and prevent a lot of other false positives. Perhaps also enable any default system language of the OS.
Perhaps only matching the end of the title. Most languages codes appear at the end of a title (or near the end). Perhaps only evaluating the last 3-4 segments (in the above title delineated with dots) would avoid false positives.
Certainly, if there is a Season-Episode code, everything before that can be safely presumed to be a part of the title. So in that case, the section of the title to match a language code in, should be restricted to the post- S00E00 part.
Thanks for your time.