pub fn detect_format_from_str(text: &str) -> Result<Format, Error>Expand description
Attempt to detect subtitle format from text of the first few lines of the subtitle
ยงErrors
Returns Error::FormatUnknownError if unable to conclusively determine a single format.