AnitomySharp.NET6
0.4.0
See the version list below for details.
dotnet add package AnitomySharp.NET6 --version 0.4.0
NuGet\Install-Package AnitomySharp.NET6 -Version 0.4.0
<PackageReference Include="AnitomySharp.NET6" Version="0.4.0" />
paket add AnitomySharp.NET6 --version 0.4.0
#r "nuget: AnitomySharp.NET6, 0.4.0"
// Install AnitomySharp.NET6 as a Cake Addin #addin nuget:?package=AnitomySharp.NET6&version=0.4.0 // Install AnitomySharp.NET6 as a Cake Tool #tool nuget:?package=AnitomySharp.NET6&version=0.4.0
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. |
-
net6.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on AnitomySharp.NET6:
Repository | Stars |
---|---|
kookxiang/jellyfin-plugin-bangumi
bgm.tv plugin for jellyfin
|