fixed static streaming

This commit is contained in:
Luke Pulverenti 2013-05-21 13:44:24 -04:00
parent f2bfcd4f36
commit 7f3706ca04

View File

@ -105,7 +105,10 @@ namespace MediaBrowser.Api.Playback
protected string GetOutputFilePath(StreamState state)
{
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>