this.scanService.ScanStared += this.ScanStared;\r
this.scanService.ScanCompleted += this.ScanCompleted;\r
this.scanService.ScanStatusChanged += this.ScanStatusChanged;\r
-\r
+ this.queueProcessor.JobProcessingStarted += this.QueueProcessorJobProcessingStarted;\r
this.queueProcessor.QueueCompleted += this.QueueCompleted;\r
this.queueProcessor.QueuePaused += this.QueuePaused;\r
- this.queueProcessor.EncodeService.EncodeStarted += this.EncodeStarted;\r
this.queueProcessor.EncodeService.EncodeStatusChanged += this.EncodeStatusChanged;\r
\r
this.Presets = this.presetService.Presets;\r
\r
this.queueProcessor.QueueCompleted -= this.QueueCompleted;\r
this.queueProcessor.QueuePaused -= this.QueuePaused;\r
- this.queueProcessor.EncodeService.EncodeStarted -= this.EncodeStarted;\r
+ this.queueProcessor.JobProcessingStarted -= this.QueueProcessorJobProcessingStarted;\r
this.queueProcessor.EncodeService.EncodeStatusChanged -= this.EncodeStatusChanged;\r
}\r
\r
}\r
\r
/// <summary>\r
- /// Encode Started Handler\r
+ /// Handle the Queue Starting Event\r
/// </summary>\r
/// <param name="sender">\r
- /// The Sender\r
+ /// The sender.\r
/// </param>\r
/// <param name="e">\r
- /// The EventArgs\r
+ /// The e.\r
/// </param>\r
- private void EncodeStarted(object sender, EventArgs e)\r
+ void QueueProcessorJobProcessingStarted(object sender, HandBrake.ApplicationServices.EventArgs.QueueProgressEventArgs e)\r
{\r
Execute.OnUIThread(\r
- () =>\r
- {\r
- this.StatusLabel = "Preparing to encode ...";\r
- this.IsEncoding = true;\r
- });\r
+ () =>\r
+ {\r
+ this.StatusLabel = "Preparing to encode ...";\r
+ this.IsEncoding = true;\r
+ });\r
\r
// TODO Handle Updating the UI\r
}\r