aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/ScheduledTasks/Tasks/DeleteTranscodeFileTask.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2019-11-21 16:18:46 +0100
committerGitHub <noreply@github.com>2019-11-21 16:18:46 +0100
commitd868a8da6c3fadc5cb7f3fce30561afc5ad6fcae (patch)
tree9b6e38598de99c6283c195bd52051cd141c8ba4b /Emby.Server.Implementations/ScheduledTasks/Tasks/DeleteTranscodeFileTask.cs
parentc0d10800ab6c029b891af5caf5d0fccaf76816d3 (diff)
parent37eed8cf1f024b8de19c851fd353322d706c2b27 (diff)
Merge pull request #1934 from dkanada/transcode
Minor changes to transcode cleanup scheduled task
Diffstat (limited to 'Emby.Server.Implementations/ScheduledTasks/Tasks/DeleteTranscodeFileTask.cs')
-rw-r--r--Emby.Server.Implementations/ScheduledTasks/Tasks/DeleteTranscodeFileTask.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Emby.Server.Implementations/ScheduledTasks/Tasks/DeleteTranscodeFileTask.cs b/Emby.Server.Implementations/ScheduledTasks/Tasks/DeleteTranscodeFileTask.cs
index c343a7d48..200649ba9 100644
--- a/Emby.Server.Implementations/ScheduledTasks/Tasks/DeleteTranscodeFileTask.cs
+++ b/Emby.Server.Implementations/ScheduledTasks/Tasks/DeleteTranscodeFileTask.cs
@@ -54,7 +54,7 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
try
{
- DeleteTempFilesFromDirectory(cancellationToken, ApplicationPaths.TranscodingTempPath, minDateModified, progress);
+ DeleteTempFilesFromDirectory(cancellationToken, ApplicationPaths.TranscodePath, minDateModified, progress);
}
catch (DirectoryNotFoundException)
{
@@ -138,13 +138,13 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
}
}
- public string Name => "Transcoding temp cleanup";
+ public string Name => "Transcode file cleanup";
- public string Description => "Deletes transcoding temp files older than 24 hours.";
+ public string Description => "Deletes transcode files more than 24 hours old.";
public string Category => "Maintenance";
- public string Key => "DeleteTranscodingTempFiles";
+ public string Key => "DeleteTranscodeFiles";
public bool IsHidden => false;