From efd8eccd1036ea83ff38f6a8ba0f86fc6e39547d Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 7 Dec 2015 10:41:22 -0500 Subject: [PATCH] adjust recording time filter --- MediaBrowser.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs b/MediaBrowser.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs index b529e91347..356d0d83d5 100644 --- a/MediaBrowser.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs +++ b/MediaBrowser.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs @@ -869,7 +869,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv.EmbyTV { if (!seriesTimer.RecordAnyTime) { - allPrograms = allPrograms.Where(epg => (seriesTimer.StartDate.TimeOfDay == epg.StartDate.TimeOfDay)); + allPrograms = allPrograms.Where(epg => Math.Abs(seriesTimer.StartDate.TimeOfDay.Ticks - epg.StartDate.TimeOfDay.Ticks) < TimeSpan.FromMinutes(5).Ticks); } if (seriesTimer.RecordNewOnly)