diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-05-02 10:30:38 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-05-02 10:30:38 -0400 |
| commit | 73b76a4f189eb4f5fe6677d322cfa5a2ff6bf3e5 (patch) | |
| tree | 59449354ed292f3fb2445ddd8a27662f72c178cc /MediaBrowser.Api/Playback/BaseStreamingService.cs | |
| parent | b11d06f36f31317f072e6cd1a27bd7d06b5f0c17 (diff) | |
added image by name api methods
Diffstat (limited to 'MediaBrowser.Api/Playback/BaseStreamingService.cs')
| -rw-r--r-- | MediaBrowser.Api/Playback/BaseStreamingService.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs index 3e5da5b53..04b6a656d 100644 --- a/MediaBrowser.Api/Playback/BaseStreamingService.cs +++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs @@ -635,7 +635,7 @@ namespace MediaBrowser.Api.Playback /// </summary> /// <param name="process">The process.</param> /// <param name="state">The state.</param> - protected void OnFfMpegProcessExited(Process process, StreamState state) + protected async void OnFfMpegProcessExited(Process process, StreamState state) { if (state.IsoMount != null) { @@ -667,6 +667,8 @@ namespace MediaBrowser.Api.Playback { Logger.Info("Deleting partial stream file(s) {0}", outputFilePath); + await Task.Delay(1000).ConfigureAwait(false); + try { DeletePartialStreamFiles(outputFilePath); |
