mirror of
https://github.com/morpheus65535/bazarr.git
synced 2024-11-15 12:14:51 +08:00
18 lines
560 B
Python
18 lines
560 B
Python
from pysrt.srttime import SubRipTime
|
|
from pysrt.srtitem import SubRipItem
|
|
from pysrt.srtfile import SubRipFile
|
|
from pysrt.srtexc import Error, InvalidItem, InvalidTimeString
|
|
from pysrt.version import VERSION, VERSION_STRING
|
|
|
|
__all__ = [
|
|
'SubRipFile', 'SubRipItem', 'SubRipFile', 'SUPPORT_UTF_32_LE',
|
|
'SUPPORT_UTF_32_BE', 'InvalidItem', 'InvalidTimeString'
|
|
]
|
|
|
|
ERROR_PASS = SubRipFile.ERROR_PASS
|
|
ERROR_LOG = SubRipFile.ERROR_LOG
|
|
ERROR_RAISE = SubRipFile.ERROR_RAISE
|
|
|
|
open = SubRipFile.open
|
|
stream = SubRipFile.stream
|
|
from_string = SubRipFile.from_string
|