From 7f57ef068932b054eb390bba850f41af0a5437c4 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 11 Jan 2014 13:58:50 -0500 Subject: support configurable transcoding temporary path --- .../ServerApplicationPaths.cs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'MediaBrowser.Server.Implementations/ServerApplicationPaths.cs') 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 } } - /// - /// Gets the FF MPEG stream cache path. - /// - /// The FF MPEG stream cache path. - 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; } } -- cgit v1.2.3