|
|
@ -55,9 +55,11 @@ namespace Radarr.Api.V3.MovieFiles
|
|
|
|
|
|
|
|
|
|
|
|
private static string FormatRuntime(TimeSpan runTime)
|
|
|
|
private static string FormatRuntime(TimeSpan runTime)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (runTime.TotalHours > 0)
|
|
|
|
var hours = (int)runTime.TotalHours;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (hours > 0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return $"{runTime.TotalHours}:{runTime.Minutes:00}:{runTime.Seconds:00}";
|
|
|
|
return $"{hours}:{runTime.Minutes:00}:{runTime.Seconds:00}";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return $"{runTime.Minutes}:{runTime.Seconds:00}";
|
|
|
|
return $"{runTime.Minutes}:{runTime.Seconds:00}";
|
|
|
|