Support for Season xx Episode yy multi-episode format

This commit is contained in:
Mark McDowall
2015-05-25 11:25:03 -07:00
parent bbcabf0632
commit a090ed8b5e
3 changed files with 4 additions and 1 deletions
@@ -109,6 +109,7 @@ namespace NzbDrone.Core.Test.ParserTests
[TestCase("The Young And The Restless - S42 E10591 - 2015-01-27", "The Young and The Restless", 42, 10591)]
[TestCase("Series Title [1x05] Episode Title", "Series Title", 1, 5)]
[TestCase("Series Title [S01E05] Episode Title", "Series Title", 1, 5)]
[TestCase("Series Title Season 01 Episode 05 720p", "Series Title", 1, 5)]
//[TestCase("", "", 0, 0)]
public void should_parse_single_episode(string postTitle, string title, int seasonNumber, int episodeNumber)
{