Check SRT file and try to fix it.
- Convert to UTF-8
- Convert line-endings to UNIX/Linux
- Recreate number counter sequence
Because in my case Plex server & TV doesn't show subtitle correctly.
gem install 'srt_subtitle_validator'
- Process files are overwritten with results.
- For all processed files are created backup.
srt_checker check <path to SRT file(s)>
srt_checker convert <path to SRT file(s)>
--output, -o
: Specify output directory of file. By default its same as input
--without_backup
: Skip creating backup files.
--encoding, -e
: Encoding of input file. By default it's windows-1250