aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-10-24 01:19:29 -0400
committerGitHub <noreply@github.com>2017-10-24 01:19:29 -0400
commit6c5f3ce07e8b36299a4143dc609999d880e7bdfd (patch)
treef8c9f10be53356915360aad659ecf4c34a391c29
parent9c4240cf026591de73b7e5641a62cdc8e42c6465 (diff)
parent76e2482047bdb115cfff5639ad2af5a5faf8a358 (diff)
Merge pull request #2973 from MediaBrowser/dev
reset PrePaddingSeconds on recording retry
-rw-r--r--Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs b/Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs
index 6c254018e..be5e57539 100644
--- a/Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs
+++ b/Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs
@@ -1508,6 +1508,7 @@ namespace Emby.Server.Implementations.LiveTv.EmbyTV
_logger.Info("Retrying recording in {0} seconds.", retryIntervalSeconds);
timer.Status = RecordingStatus.New;
+ timer.PrePaddingSeconds = 0;
timer.StartDate = DateTime.UtcNow.AddSeconds(retryIntervalSeconds);
timer.RetryCount++;
_timerProvider.AddOrUpdate(timer);