Merge pull request #1660 from MediaBrowser/dev

update version
This commit is contained in:
Luke 2016-04-17 16:58:45 -04:00
commit d6673ca187

View File

@ -40,7 +40,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv.EmbyTV
{ {
onStarted(); onStarted();
_logger.Info("Copying recording stream to file stream"); _logger.Info("Copying recording stream to file {0}", targetFile);
var durationToken = new CancellationTokenSource(duration); var durationToken = new CancellationTokenSource(duration);
var linkedToken = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken, durationToken.Token).Token; var linkedToken = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken, durationToken.Token).Token;
@ -48,6 +48,8 @@ namespace MediaBrowser.Server.Implementations.LiveTv.EmbyTV
await response.Content.CopyToAsync(output, StreamDefaults.DefaultCopyToBufferSize, linkedToken).ConfigureAwait(false); await response.Content.CopyToAsync(output, StreamDefaults.DefaultCopyToBufferSize, linkedToken).ConfigureAwait(false);
} }
} }
_logger.Info("Recording completed to file {0}", targetFile);
} }
} }
} }