A library for parsing SRT Subtitles.
- Switched to 2018 edition.
- Renamed
Subtitle
toItem
. - Changed type of subtitle's
start_time
andend_time
toTime
. (You still able to convert it toDuration
.) - Renamed
parse
function tofrom_str
. - Renamed
read_from_file
function tofrom_file
. - Added
from_reader
function. - Removed
Result
alias. Error
struct replaced by a bunch of different structs.
- Fixed time parsing.
- First release.
The MIT License (MIT)