Match Varied Language Names (full name, track number)

1 votes

Much of my library includes subtitles that aren't in the format of `Movie.en.srt` but may include the subtitle track number (ie: Movie.2_en.srt / Movie.en (2).srt) or the full name (ie: Movie.English.srt / Movie.2_English.srt / Movie.English (2).srt).

Very often there are multiple English subtitles for example, possibly UK vs US English, possibly one that includes some hardcoded subs vs otherwise. While I don't mind changing the language names, the subtitles will then collide as there are then two English subtitles.

I would suggest that it is very easy to accommodate these subtitles by:
1. stripping out numbers/spaces/brackets/underscores from the final video name; and
2. case-insensitive converting full language names (English) to the ISO 639-1 codes (en).

Right now these srt files do not show up at all within Bazarr. Renaming them on disk has them appear.

Under consideration Suggested by: Michael Upvoted: 01 Feb, '22 Comments: 4

Comments: 4