mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 08:23:28 -03:00
Merge pull request #12778 from TonyBotongChu/anime-parse
Add EpisodeExpression for anime file names
This commit is contained in:
@@ -467,6 +467,14 @@ namespace Emby.Naming.Common
|
||||
{
|
||||
IsNamed = true
|
||||
},
|
||||
|
||||
// Anime style expression
|
||||
// "[Group][Series Name][21][1080p][FLAC][HASH]"
|
||||
// "[Group] Series Name [04][BDRIP]"
|
||||
new EpisodeExpression(@"(?:\[(?:[^\]]+)\]\s*)?(?<seriesname>\[[^\]]+\]|[^[\]]+)\s*\[(?<epnumber>[0-9]+)\]")
|
||||
{
|
||||
IsNamed = true
|
||||
},
|
||||
};
|
||||
|
||||
VideoExtraRules = new[]
|
||||
|
||||
Reference in New Issue
Block a user