Fixed: Removal of common suffixes such as [ettv] while parsing.

Fixes #874
This commit is contained in:
Taloth Saldono
2015-10-20 20:12:35 +02:00
parent e8d6d62fba
commit a06a3fa5d6
2 changed files with 8 additions and 0 deletions
@@ -111,6 +111,7 @@ namespace NzbDrone.Core.Test.ParserTests
[TestCase("Series Title Season 01 Episode 05 720p", "Series Title", 1, 5)]
//[TestCase("Off the Air - 101 - Animals (460p.x264.vorbis-2.0) [449].mkv", "Off the Air", 1, 1)]
[TestCase("The Young And the Restless - S42 E10713 - 2015-07-20.mp4", "The Young And the Restless", 42, 10713)]
[TestCase("quantico.103.hdtv-lol[ettv].mp4", "quantico", 1, 3)]
//[TestCase("", "", 0, 0)]
public void should_parse_single_episode(string postTitle, string title, int seasonNumber, int episodeNumber)
{