Skip to content

mononobi/subfix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.