added image by name api methods

This commit is contained in:
Luke Pulverenti
2013-05-02 10:30:38 -04:00
parent b11d06f36f
commit 73b76a4f18
8 changed files with 51 additions and 4 deletions

View File

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