mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-20 17:14:42 +01:00
allow separate configuration of date format
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user