aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/ApiEntryPoint.cs
diff options
context:
space:
mode:
authorVasily <JustAMan@users.noreply.github.com>2019-02-21 15:05:31 +0300
committerGitHub <noreply@github.com>2019-02-21 15:05:31 +0300
commit785fa76ac6b9f44d106d3ea265f79995e428dcdd (patch)
tree8c832494699b1b4e428213c5c9cadf2ff7980f28 /MediaBrowser.Api/ApiEntryPoint.cs
parent6c967c598293c923f85c6bb280cae6dc7b83aa6b (diff)
parent73c1cdb32ad8c0adf5e48477294dbee0f9240e8d (diff)
Merge pull request #955 from ploughpuff/avoid
Avoid exceptions due to folder and file not found
Diffstat (limited to 'MediaBrowser.Api/ApiEntryPoint.cs')
-rw-r--r--MediaBrowser.Api/ApiEntryPoint.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Api/ApiEntryPoint.cs b/MediaBrowser.Api/ApiEntryPoint.cs
index 8dbc26356..ceff6b02e 100644
--- a/MediaBrowser.Api/ApiEntryPoint.cs
+++ b/MediaBrowser.Api/ApiEntryPoint.cs
@@ -170,7 +170,7 @@ namespace MediaBrowser.Api
/// </summary>
private void DeleteEncodedMediaCache()
{
- var path = _config.ApplicationPaths.TranscodingTempPath;
+ var path = _config.ApplicationPaths.GetTranscodingTempPath();
foreach (var file in _fileSystem.GetFilePaths(path, true))
{