summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Services/Queue/QueueService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/Queue/QueueService.cs')
-rw-r--r--win/CS/HandBrakeWPF/Services/Queue/QueueService.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Queue/QueueService.cs b/win/CS/HandBrakeWPF/Services/Queue/QueueService.cs
index c3c65f3c3..089072136 100644
--- a/win/CS/HandBrakeWPF/Services/Queue/QueueService.cs
+++ b/win/CS/HandBrakeWPF/Services/Queue/QueueService.cs
@@ -349,6 +349,24 @@ namespace HandBrakeWPF.Services.Queue
});
}
+ public List<string> GetLogFilePaths()
+ {
+ List<string> logPaths = new List<string>();
+ lock (QueueLock)
+ {
+ foreach (QueueTask task in this.Queue)
+ {
+ if (!string.IsNullOrEmpty(task.Statistics.CompletedActivityLogPath))
+ {
+ logPaths.Add(task.Statistics.CompletedActivityLogPath);
+ }
+ }
+ }
+
+ return logPaths;
+ }
+
+
public QueueTask GetNextJobForProcessing()
{
if (this.queue.Count > 0)