diff --git a/MediaBrowser.Providers/MediaInfo/FFProbeVideoInfo.cs b/MediaBrowser.Providers/MediaInfo/FFProbeVideoInfo.cs index 115ffd444a..620a7a6f65 100644 --- a/MediaBrowser.Providers/MediaInfo/FFProbeVideoInfo.cs +++ b/MediaBrowser.Providers/MediaInfo/FFProbeVideoInfo.cs @@ -604,7 +604,7 @@ namespace MediaBrowser.Providers.MediaInfo if (vobs.Count > 0) { - var minSizeVobs = allVobs + var minSizeVobs = vobs .SkipWhile(f => f.Length < minPlayableSize) .ToList(); diff --git a/MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs b/MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs index ad939f721a..3b284dbf1a 100644 --- a/MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs +++ b/MediaBrowser.Server.Implementations/LiveTv/LiveTvManager.cs @@ -846,8 +846,8 @@ namespace MediaBrowser.Server.Implementations.LiveTv var days = Math.Round(((double)maxPrograms) / programsPerDay); - // No less than 2, no more than 14 - return Math.Max(2, Math.Min(days, 14)); + // No less than 2, no more than 7 + return Math.Max(2, Math.Min(days, 7)); } private async Task>> GetChannels(ILiveTvService service, CancellationToken cancellationToken)