2024-01-28 21:14:20 +01:00
2024-01-28 21:14:20 +01:00
2023-02-06 18:43:36 +01:00
2023-02-06 18:46:36 +01:00

subtitles-fixer

Simple script to:

  • convert encoding to UTF-8
  • convert line endings to UNIX standard
  • fix broken characters

Configuration

You can place your own map in characters section of config.yaml file. Default configuration includes polish characters. When run in terminal, script lists all characters found in the subtitles file that are not in ASCII or ignored list.

Usage

$ python3 /path/to/subtitles-fixer.py /path/to/subtitles.ext

Bonus

Nemo action for context menu. Place fix-subtitles.nemo_action in ~/.local/share/nemo/actions/, provide absolute path to subtitles-fixer.py file and restart nemo.

To do

  • Translation?
Description
Simple script to fix subtitles to be used on Linux systems. Nemo action gratis.
Readme 35 KiB
Languages
Python 100%