subtitle library

Classes

CustomRegex
Custom (User defin type)
CustomSubtitleParser
Customizable subtitle parser, for custom regexes. You can provide your regex in pattern, and custom decode in onParsing.
FileSubtitle
File subtitles
ISubtitleController
The base class of all subtitles controller object.
ISubtitleParser
It is used to analyze and convert subtitle files into software objects that are viewable and usable. The base class of SubtitleParser, you can create your custom by extends from this base class.
ISubtitleRepository
The base class of any subtitle repository. Deals with the platform directly to get or download the required data and submit it to the provider. You can create your custom by inherited this base class.
NetworkSubtitle
Network subtitles
Response
A response class of HTTP request.
SrtRegex
SubRip Regex
StringSubtitle
Use this provider for string to generate a subtitles. You should provide the current format type of this subtitle. for example:
Subtitle
This model class store the subtitle data.
SubtitleController
The default class to controller subtitles, you can use it or extends ISubtitleController to create your custom.
SubtitleObject
Stored the subtitle file data and its format type. Each subtitle file present in one object or SubtitleObject
SubtitleParser
Usable class to parsing subtitle file. It is used to analyze and convert subtitle files into software objects that are viewable and usable.
SubtitleProvider
Base class of subtitle providers. It was created to simplify fetching subtitle file data from multiple sources.
SubtitleRegexObject
Class responsible for providing the necessary expression for the purpose of decoding the content of subtitle files for the purpose of using them in the converted class SubtitleParser to provide proper subtitle objects, and then using them in the controller to display the required content within the required time.
SubtitleRepository
Created to load the subtitles as a string from with value need to use futrue. Deals with the platform directly to get or download the required data and submit it to the provider.
TtmlRegex
Timed Text Markup Language
VttRegex
WebVTT Regex

Enums

SubtitleType
Subtitle formats types

Typedefs

OnParsingSubtitle = List<Subtitle> Function(Iterable<RegExpMatch> matchers)
Used in CustomSubtitleParser to comstmize parsing of subtitles.