diff options
| author | Luke <luke.pulverenti@gmail.com> | 2017-03-12 15:28:28 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-12 15:28:28 -0400 |
| commit | 7ae1de52b45267e399b6cbbaa423665bb006bf79 (patch) | |
| tree | 227cb95db1ddc171c078ce9bc6f8f717cc2e9e20 /Emby.Server.Implementations/LiveTv | |
| parent | 3962361ad9940e0c8b2e6d4aea4fc6b1cdd88553 (diff) | |
| parent | 5e821947491c07eb65db4653db674af55bc4e90b (diff) | |
Merge pull request #2523 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Server.Implementations/LiveTv')
| -rw-r--r-- | Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs b/Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs index 926d82f94..d9060a066 100644 --- a/Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs +++ b/Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs @@ -1276,6 +1276,14 @@ namespace Emby.Server.Implementations.LiveTv.EmbyTV return; } + var registration = await _liveTvManager.GetRegistrationInfo("dvr").ConfigureAwait(false); + if (!registration.IsValid) + { + _logger.Warn("Emby Premiere required to use Emby DVR."); + OnTimerOutOfDate(timer); + return; + } + var activeRecordingInfo = new ActiveRecordingInfo { CancellationTokenSource = new CancellationTokenSource(), @@ -2319,6 +2327,9 @@ namespace Emby.Server.Implementations.LiveTv.EmbyTV { UpdateExistingTimerWithNewMetadata(existingTimer, timer); + // Needed by ShouldCancelTimerForSeriesTimer + timer.IsManual = existingTimer.IsManual; + if (ShouldCancelTimerForSeriesTimer(seriesTimer, timer)) { existingTimer.Status = RecordingStatus.Cancelled; |
