Fix runtime issues.

Fixes #275 and #577
pull/2/head
Leonardo Galli 8 years ago
parent ecfe103c50
commit 55c437d980

@ -153,7 +153,12 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport
private int GetMinimumAllowedRuntime(Movie movie)
{
return 360; //6 minutes
if (movie.Runtime < 1)
{
return 5 * 60;
}
return movie.Runtime / 5;
}
private int GetMinimumAllowedRuntime(Series series)

Loading…
Cancel
Save