diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-07-27 23:32:33 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-07-27 23:32:33 -0400 |
| commit | ba2574a03b76f98b3688755f2afaad4ee01333d0 (patch) | |
| tree | b138fa643f8c43b22f647edb1f8c9647db50c414 /MediaBrowser.Server.Implementations | |
| parent | dac12fcb221cc0dd453a343b352bf8c9987e0fd5 (diff) | |
update localization
Diffstat (limited to 'MediaBrowser.Server.Implementations')
| -rw-r--r-- | MediaBrowser.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs b/MediaBrowser.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs index ec8dd8699..0ed87bbff 100644 --- a/MediaBrowser.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs +++ b/MediaBrowser.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs @@ -424,6 +424,11 @@ namespace MediaBrowser.Server.Implementations.LiveTv.EmbyTV private async Task RecordStream(TimerInfo timer, CancellationToken cancellationToken) { + if (timer == null) + { + throw new ArgumentNullException("timer"); + } + var mediaStreamInfo = await GetChannelStream(timer.ChannelId, null, CancellationToken.None); var duration = (timer.EndDate - RecordingHelper.GetStartTime(timer)).TotalSeconds + timer.PrePaddingSeconds; |
