1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-20 21:54:58 -04:00

Fixed: Parsing of Chinese anime with ordinal number in English title

This commit is contained in:
Mark McDowall
2024-07-13 20:10:06 -07:00
committed by Mark McDowall
parent 0a28ff84e8
commit 06936c4f22
2 changed files with 2 additions and 1 deletions
@@ -51,6 +51,7 @@ namespace NzbDrone.Core.Test.ParserTests
[TestCase("[Skymoon-Raws] Anime-Series Title S02 - 01 [ViuTV][CHT][WEB-DL][1080p][AVC AAC][MP4+ASS]", "Anime-Series Title S2", "Skymoon-Raws", 1)]
[TestCase("[orion origin] Anime-Series Title S02[07][1080p][H264 AAC][CHS][ENGJPN stidio]", "Anime-Series Title S2", "orion origin", 7)]
[TestCase("[UHA-WINGS][Anime-Series Title S02][01][x264 1080p][CHT].mp4", "Anime-Series Title S2", "UHA-WINGS", 1)]
[TestCase("[Suzuya Raws] / Series 2nd Season - 01 [CR WebRip 1080p HEVC-10bit AAC][Multi-Subs]", "Series 2nd Season", "Suzuya Raws", 1)]
public void should_parse_chinese_anime_season_episode_releases(string postTitle, string title, string subgroup, int absoluteEpisodeNumber)
{
postTitle = XmlCleaner.ReplaceUnicode(postTitle);