mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Underscores & REGEX
Fixed: Parsing file names with underscores in title #ND-131 fixed
This commit is contained in:
parent
1ef6906dc1
commit
d3a84228a5
2 changed files with 2 additions and 1 deletions
|
@ -75,6 +75,7 @@ namespace NzbDrone.Core.Test.ParserTests
|
|||
[TestCase("Cheers S08E20 50-50 Carla [DVD]", "Cheers", 8, 20)]
|
||||
[TestCase("S02E10 6-50 to SLC [SDTV]", "", 2, 10)]
|
||||
[TestCase("Franklin & Bash S02E10 6-50 to SLC [SDTV]", "Franklin & Bash", 2, 10)]
|
||||
[TestCase("The_Big_Bang_Theory_-_6x12_-_The_Egg_Salad_Equivalency_[HDTV-720p]", "The Big Bang Theory", 6, 12)]
|
||||
public void ParseTitle_single(string postTitle, string title, int seasonNumber, int episodeNumber)
|
||||
{
|
||||
var result = Parser.ParseTitle(postTitle);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue