fixed static streaming
This commit is contained in:
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…
Reference in New Issue
Block a user