mirror of
https://github.com/Radarr/Radarr
synced 2025-01-01 12:54:21 +00:00
Fixed: Don't check for sample for anime specials
This commit is contained in:
parent
e8aa6b5727
commit
7aee3c5ac4
2 changed files with 10 additions and 1 deletions
|
@ -143,6 +143,15 @@ public void should_not_treat_daily_episode_a_special()
|
|||
ShouldBeFalse();
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void should_return_false_for_anime_speical()
|
||||
{
|
||||
_series.SeriesType = SeriesTypes.Anime;
|
||||
_localEpisode.Episodes[0].SeasonNumber = 0;
|
||||
|
||||
ShouldBeFalse();
|
||||
}
|
||||
|
||||
private void ShouldBeTrue()
|
||||
{
|
||||
Subject.IsSample(_localEpisode.Series,
|
||||
|
|
|
@ -36,7 +36,7 @@ public static long SampleSizeLimit
|
|||
|
||||
public bool IsSample(Series series, QualityModel quality, string path, long size, int seasonNumber)
|
||||
{
|
||||
if (seasonNumber == 0 && series.SeriesType == SeriesTypes.Standard)
|
||||
if (seasonNumber == 0)
|
||||
{
|
||||
_logger.Debug("Special, skipping sample check");
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue