Bug: Fixed years being picked up as 4-digit season/episode combo when using the folder name only. a year wrapped with brackets '()' or '[]' will be treated as a year.

Bug: Fixed display issue for series with a period in them when adding existing series, Html.Label(path) would only show text from after the period.
This commit is contained in:
Mark McDowall 2012-01-12 08:41:58 -08:00
commit 359f6ea012
3 changed files with 4 additions and 2 deletions

View file

@ -297,6 +297,8 @@ namespace NzbDrone.Core.Test
[TestCase("Mad Men - Season 1 [Bluray720p]", "madmen")]
[TestCase("Mad Men - Season 1 [Bluray1080p]", "madmen")]
[TestCase("The Daily Show With Jon Stewart -", "dailyshowwithjonstewart")]
[TestCase("The Venture Bros. (2004)", "venturebros2004")]
[TestCase("Castle (2011)", "castle2011")]
public void parse_series_name(string postTitle, string title)
{
var result = Parser.ParseSeriesName(postTitle);