fixed static streaming

pull/702/head
Luke Pulverenti 12 years ago
parent f2bfcd4f36
commit 7f3706ca04

@ -105,7 +105,10 @@ namespace MediaBrowser.Api.Playback
protected string GetOutputFilePath(StreamState state) protected string GetOutputFilePath(StreamState state)
{ {
var folder = ApplicationPaths.EncodedMediaCachePath; var folder = ApplicationPaths.EncodedMediaCachePath;
return Path.Combine(folder, GetCommandLineArguments("dummy\\dummy", state, false).GetMD5() + GetOutputFileExtension(state).ToLower());
var outputFileExtension = GetOutputFileExtension(state);
return Path.Combine(folder, GetCommandLineArguments("dummy\\dummy", state, false).GetMD5() + (outputFileExtension ?? string.Empty).ToLower());
} }
/// <summary> /// <summary>

Loading…
Cancel
Save