SubtitleParser 2.0.0
Multi-target frameworks support is added into new version.
See the version list below for details.
dotnet add package SubtitleParser --version 2.0.0
NuGet\Install-Package SubtitleParser -Version 2.0.0
<PackageReference Include="SubtitleParser" Version="2.0.0" />
paket add SubtitleParser --version 2.0.0
#r "nuget: SubtitleParser, 2.0.0"
// Install SubtitleParser as a Cake Addin #addin nuget:?package=SubtitleParser&version=2.0.0 // Install SubtitleParser as a Cake Tool #tool nuget:?package=SubtitleParser&version=2.0.0
SubtitleParser
SubtitleParser is a project to parse subtitle content data into subtitle blocks.
Description
SubtitleParser has methods get content lines from specified file path and parse them into subtitle blocks.
Listed Methods
Read Content
GetTextByLines(string filePath)
GetTextByLinesUnsafe(string filePath)
Returns lines of contents. (string[])
- filePath: Specified file path
Parsing
ParseSubtitleList(string[] subtitleLines)
ParseSubtitleListUnsafe(string[] subtitleLines)
Returns list of SubtitleBlocks (List<SubtitleBlock>)
- subtitleLines: Subtitle file's content by lines.
S_trimmedLineIndexList
Returns line list of content that are trimöed.
Version History
2.0.0
- Fixing naming vialations inside of SubtitleBlock. Public members names start with uppercase now.
1.2.0
- Added TrimmedLineIndexList publicly available.
- Added OutputDLL which contains .dll and .xml file.
1.1.0
- Adding xml summaries to SubtitleBlock class and its elements.
- Hotfix on GetInlineText() local function.
- Support Unsafe versions of ParseSubtitleList() and GetTextByLines()
1.0.0 Initial Release
Task List
- Safe versions of methods
- Offer TrimmedLineIndexList as public
- Some order numbers are not integers. E.g 1.1 1.2
- Support multiple culture for notations on time marks.
Licence
No license is required.
Authors
Twitter: Enes Okullu @enesokullu
Help
Twitter: Enes Okullu @enesokullu
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net7.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Added TrimmedLineIndexList publicly available
Added OutputDLL folder which contains .dll and .xml file.
Fixing variable name inside of SubtitleBlock. Public members start with uppercase now.