emericg / OpenSubtitlesDownload

Automatically find and download the right subtitles for your favorite videos!
https://emeric.io/OpenSubtitlesDownload
GNU General Public License v3.0
579 stars 63 forks source link

(opt_language_suffix_separator) not working file_en.srt #87

Closed naifmalharthi closed 6 months ago

naifmalharthi commented 2 years ago

Character used to separate file path from the language code (ex: file_en.srt).

opt_language_suffix_separator = 'file_en.srt'

When I change to a title, for example, English or French, it does not put the symbol in the translation, for example: movie.fr.srt

Tried binary and triple encoding. like : en or eng movie.mkv movie.srt

I want to be like : movie.mkv movie.en.srt OR movie.eng.srt

emericg commented 2 years ago

I'm sorry I don't really understand your issue.

opt_language_suffixseparator is a single character. Simply use '.' or ''.

If you want to change the language code size, change opt_language_suffix_size to '2' or '3'.

If you want to force the use of a language code set opt_language_suffix to 'on'