reset PrePaddingSeconds on recording retry

This commit is contained in:
Luke Pulverenti 2017-10-24 01:19:06 -04:00
parent 9b71812325
commit 76e2482047

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