mirror of
https://github.com/Readarr/Readarr.git
synced 2026-02-02 18:22:17 -05:00
Fixed: Tweaked sample detection for short episodes.
This commit is contained in:
@@ -105,13 +105,22 @@ public void should_return_true_if_runtime_is_less_than_minimum()
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void should_return_false_if_runtime_greater_than_than_minimum()
|
||||
public void should_return_false_if_runtime_greater_than_minimum()
|
||||
{
|
||||
GivenRuntime(600);
|
||||
|
||||
ShouldBeFalse();
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void should_return_false_if_runtime_greater_than_webisode_minimum()
|
||||
{
|
||||
_series.Runtime = 6;
|
||||
GivenRuntime(299);
|
||||
|
||||
ShouldBeFalse();
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void should_fall_back_to_file_size_if_mediainfo_dll_not_found_acceptable_size()
|
||||
{
|
||||
|
||||
@@ -108,7 +108,7 @@ private bool CheckSize(long size, QualityModel quality)
|
||||
private int GetMinimumAllowedRuntime(Series series)
|
||||
{
|
||||
//Webisodes - 90 seconds
|
||||
if (series.Runtime <= 5)
|
||||
if (series.Runtime <= 10)
|
||||
{
|
||||
return 90;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user