update localization

This commit is contained in:
Luke Pulverenti
2015-07-27 23:32:33 -04:00
parent dac12fcb22
commit ba2574a03b
2 changed files with 9 additions and 4 deletions

View File

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