mononobi / subfix

Simple subtitle encoding fixer.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Subfix

A simple subtitle encoding fixer.

Subfix is a utility package which helps to convert subtitle file encodings.

Features

  • Single File Conversion
  • Batch Conversion

Installing

Install using pip:

pip install subfixio

Example:

Single:

from subfix.converter.manager import converter_manager


converter_manager.convert('/home/user/movies/system-crasher-2019/english_sub.srt')

Batch:

from subfix.converter.manager import converter_manager


converter_manager.batch_convert('/home/user/movies/system-crasher-2019')

Both methods accept extra optional inputs to customize the conversion.
Read the docstrings for more information on extra options.

About

Simple subtitle encoding fixer.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%