mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-23 06:45:19 -07:00
parent
ecfe103c50
commit
55c437d980
1 changed files with 6 additions and 1 deletions
|
@ -153,7 +153,12 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport
|
||||||
|
|
||||||
private int GetMinimumAllowedRuntime(Movie movie)
|
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)
|
private int GetMinimumAllowedRuntime(Series series)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue