AnitomySharp.NET6
0.3.5
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package AnitomySharp.NET6 --version 0.3.5
NuGet\Install-Package AnitomySharp.NET6 -Version 0.3.5
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AnitomySharp.NET6" Version="0.3.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AnitomySharp.NET6 --version 0.3.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AnitomySharp.NET6, 0.3.5"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install AnitomySharp.NET6 as a Cake Addin #addin nuget:?package=AnitomySharp.NET6&version=0.3.5 // Install AnitomySharp.NET6 as a Cake Tool #tool nuget:?package=AnitomySharp.NET6&version=0.3.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
AnitomySharp
AnitomySharp is a C# port of Anitomy, with inspiration taken from AnitomyJ, a library for parsing anime video filenames. All credit to @erengy for the actual library and logic.
This fork of AnitomySharp is inspired by tabratton&senritsu, which adds more custom rules.
Examples
The following filename...
[BM&T] Toradora! - 07v2 - Pool Opening (2008) [720p Hi10p FLAC] [BD] [8F59F2BA].mkv
...would be resolved into these elements:
- Release group: BM&T
- Anime title: Toradora!
- Anime year: 2008
- Episode number: 07
- Source: BD
- Release version: 2
- Episode title: Pool Opening
- Video resolution: 720p
- Video term: Hi10p
- Audio term: FLAC
- File checksum: 8F59F2BA
Here's an example code snippet...
using System;
using static AnitomySharp.AnitomySharp;
namespace anitomytest
{
class Program
{
public static void Main(string[] args)
{
const string filename = "[BM&T] Toradora! - 07v2 - Pool Opening (2008) [720p Hi10p FLAC] [BD] [8F59F2BA].mkv";
var results = Parse(filename);
results.ForEach(x => Console.WriteLine(x.Category + ": " + x.Value));
}
}
}
...which will output:
ElementFileExtension: mkv
ElementFileName: [BM&T] Toradora! - 07v2 - Pool Opening (2008) [720p Hi10p FLAC] [BD] [8F59F2BA]
ElementVideoResolution: 720p
ElementVideoTerm: Hi10p
ElementAudioTerm: FLAC
ElementSource: BD
ElementFileChecksum: 8F59F2BA
ElementAnimeYear: 2008
ElementEpisodeNumber: 07
ElementReleaseVersion: 2
ElementAnimeTitle: Toradora!
ElementReleaseGroup: BM&T
ElementEpisodeTitle: Pool Opening
Installation
AnitomySharp is available on NuGet, and can be found under the name AnitomySharp.
Issues & Pull Requests
Welcome~
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.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.