1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-22 22:16:13 -04:00

New: Filter episodes in API v3 by episode file ID

Closes #3589
This commit is contained in:
Mark McDowall
2020-03-18 18:09:38 -07:00
parent 25abf52b3f
commit a965b8e7b2
2 changed files with 19 additions and 10 deletions
@@ -141,6 +141,8 @@ namespace NzbDrone.Core.Test.ParserTests
[TestCase("Series.Title.S01EP01.English.AC3.DL.1080p.BluRay-Sonarr", "Series Title", 1, 1)]
[TestCase("tvs-amgo-dd51-dl-7p-azhd-x264-103", "tvs-amgo-dd51-dl-7p-azhd", 1, 3)]
[TestCase("Series Title - S01E01 [AC3 5.1 Castellano][www.descargas2020.org]", "Series Title", 1, 1)]
[TestCase("Peaky Blinders - [01x01] - Episode 1", "Peaky Blinders", 1, 1)]
[TestCase("Peaky Blinders - [02x01] - Episode 1", "Peaky Blinders", 2, 1)]
//[TestCase("", "", 0, 0)]
public void should_parse_single_episode(string postTitle, string title, int seasonNumber, int episodeNumber)
{