SrtParser

object SrtParser

Parser for SRT (SubRip) subtitle files.

Functions

Link copied to clipboard
suspend fun loadFromUrl(url: String): SubtitleCueList

Loads and parses an SRT file from a URL.

Link copied to clipboard
fun parse(content: String): SubtitleCueList

Parses an SRT file content into a SubtitleCueList.