AnitomySharp.NET6 0.5.1

dotnet add package AnitomySharp.NET6 --version 0.5.1                
NuGet\Install-Package AnitomySharp.NET6 -Version 0.5.1                
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.5.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AnitomySharp.NET6 --version 0.5.1                
#r "nuget: AnitomySharp.NET6, 0.5.1"                
#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.5.1

// Install AnitomySharp.NET6 as a Cake Tool
#tool nuget:?package=AnitomySharp.NET6&version=0.5.1                

AnitomySharp

Build

中文指南

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 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 (1)

Showing the top 1 popular GitHub repositories that depend on AnitomySharp.NET6:

Repository Stars
kookxiang/jellyfin-plugin-bangumi
bgm.tv plugin for jellyfin
Version Downloads Last updated
0.5.1 728 5/13/2024
0.4.0 635 8/3/2023
0.3.5 172 7/30/2023
0.3.0 174 7/30/2023