A simple subtitle encoding fixer.
Subfix is a utility package which helps to convert subtitle file encodings.
- Single File Conversion
- Batch Conversion
Install using pip:
pip install subfixio
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.