mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
ParseSeriesName will now return normalized version of the title if it doesn't match any predefined
PostDownload provider will skip subfolders that are known series folders.
This commit is contained in:
parent
f5a8c3de87
commit
e269494ff8
6 changed files with 54 additions and 17 deletions
|
@ -288,9 +288,10 @@ namespace NzbDrone.Core.Test
|
|||
|
||||
[TestCase("Chuck - 4x05 - Title", "Chuck")]
|
||||
[TestCase("Law & Order - 4x05 - Title", "laworder")]
|
||||
[TestCase("This Isn't a Valid Post", "")]
|
||||
[TestCase("Bad Format", "badformat")]
|
||||
[TestCase("Mad Men - Season 1 [Bluray720p]", "madmen")]
|
||||
[TestCase("Mad Men - Season 1 [Bluray1080p]", "madmen")]
|
||||
[TestCase("The Daily Show With Jon Stewart -", "dailyshowwithjonstewart")]
|
||||
public void parse_series_name(string postTitle, string title)
|
||||
{
|
||||
var result = Parser.ParseSeriesName(postTitle);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue