diff --git a/src/Radarr.Api.V3/MovieFiles/MediaInfoResource.cs b/src/Radarr.Api.V3/MovieFiles/MediaInfoResource.cs index 06eb16871..38aa51dca 100644 --- a/src/Radarr.Api.V3/MovieFiles/MediaInfoResource.cs +++ b/src/Radarr.Api.V3/MovieFiles/MediaInfoResource.cs @@ -55,9 +55,11 @@ public static MediaInfoResource ToResource(this MediaInfoModel model, string sce 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}";