Merge pull request #2973 from MediaBrowser/dev

reset PrePaddingSeconds on recording retry
This commit is contained in:
Luke 2017-10-24 01:19:29 -04:00 committed by GitHub
commit 6c5f3ce07e

View File

@ -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);