diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-01-11 13:58:50 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-01-11 13:58:50 -0500 |
| commit | 7f57ef068932b054eb390bba850f41af0a5437c4 (patch) | |
| tree | a199f61d48b5cb8d438d638c9522a19ad29dc9e9 /MediaBrowser.Server.Implementations/ServerApplicationPaths.cs | |
| parent | ef8b02d28543f9e9070c00877070016f032793bc (diff) | |
support configurable transcoding temporary path
Diffstat (limited to 'MediaBrowser.Server.Implementations/ServerApplicationPaths.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/ServerApplicationPaths.cs | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/MediaBrowser.Server.Implementations/ServerApplicationPaths.cs b/MediaBrowser.Server.Implementations/ServerApplicationPaths.cs index db538f8dd..abb60a1d5 100644 --- a/MediaBrowser.Server.Implementations/ServerApplicationPaths.cs +++ b/MediaBrowser.Server.Implementations/ServerApplicationPaths.cs @@ -200,15 +200,16 @@ namespace MediaBrowser.Server.Implementations } } - /// <summary> - /// Gets the FF MPEG stream cache path. - /// </summary> - /// <value>The FF MPEG stream cache path.</value> - public string EncodedMediaCachePath + private string _transcodingTempPath; + public string TranscodingTempPath { get { - return Path.Combine(CachePath, "encoded-media"); + return _transcodingTempPath ?? (_transcodingTempPath = Path.Combine(ProgramDataPath, "transcoding-temp")); + } + set + { + _transcodingTempPath = value; } } |
