allow separate configuration of date format

This commit is contained in:
Luke Pulverenti
2017-10-30 00:51:43 -04:00
parent 93676f6838
commit 8ec8b46394
8 changed files with 50 additions and 45 deletions

View File

@@ -206,6 +206,23 @@ namespace Emby.Server.Implementations
}
}
public string GetTranscodingTempPath()
{
var path = TranscodingTempPath;
try
{
Directory.CreateDirectory(path);
return path;
}
catch
{
path = Path.Combine(ProgramDataPath, "transcoding-temp");
Directory.CreateDirectory(path);
return path;
}
}
/// <summary>
/// Gets the game genre path.
/// </summary>