}\r
\r
/// <summary>\r
- /// Looks up a localized string similar to Pending Jobs {7}.\r
+ /// Looks up a localized string similar to Pending Jobs {0}.\r
/// </summary>\r
public static string Main_JobsPending_addon {\r
get {\r
}\r
\r
/// <summary>\r
- /// Looks up a localized string similar to Encoding: Pass {0} of {1}, {2:00.00}%, FPS: {3:000.0}, Avg FPS: {4:000.0}, Time Remaining: {5}, Elapsed: {6:d\:hh\:mm\:ss}.\r
+ /// Looks up a localized string similar to Encoding: Pass {0} of {1}, {2:00.00}%, FPS: {3:000.0}, Avg FPS: {4:000.0}, Time Remaining: {5}, Elapsed: {6:d\:hh\:mm\:ss} {7}.\r
/// </summary>\r
public static string MainViewModel_EncodeStatusChanged_StatusLabel {\r
get {\r
}\r
}\r
\r
+ /// <summary>\r
+ /// Looks up a localized string similar to Processing Pass {0} of {1}, (Subtitle Scan) {2:00.00}%, Scan Time Remaining: {3}, Elapsed: {4:d\:hh\:mm\:ss}.\r
+ /// </summary>\r
+ public static string MainViewModel_EncodeStatusChanged_SubScan_StatusLabel {\r
+ get {\r
+ return ResourceManager.GetString("MainViewModel_EncodeStatusChanged_SubScan_StatusLabel", resourceCulture);\r
+ }\r
+ }\r
+ \r
/// <summary>\r
/// Looks up a localized string similar to Low Disk Space.\r
/// </summary>\r
<value>There are jobs on the queue with the same destination path. Please choose a different path for this job.</value>\r
</data>\r
<data name="Main_JobsPending_addon" xml:space="preserve">\r
- <value> Pending Jobs {7}</value>\r
+ <value> Pending Jobs {0}</value>\r
</data>\r
<data name="Main_NewDefaultPreset" xml:space="preserve">\r
<value>New Default Preset Set: {0}</value>\r
<value>Are you sure you want to delete the preset: </value>\r
</data>\r
<data name="MainViewModel_EncodeStatusChanged_StatusLabel" xml:space="preserve">\r
- <value>Encoding: Pass {0} of {1}, {2:00.00}%, FPS: {3:000.0}, Avg FPS: {4:000.0}, Time Remaining: {5}, Elapsed: {6:d\:hh\:mm\:ss}</value>\r
+ <value>Encoding: Pass {0} of {1}, {2:00.00}%, FPS: {3:000.0}, Avg FPS: {4:000.0}, Time Remaining: {5}, Elapsed: {6:d\:hh\:mm\:ss} {7}</value>\r
</data>\r
<data name="AddPresetViewModel_PresetMustProvideName" xml:space="preserve">\r
<value>A Preset must have a Name. Please fill out the Preset Name field.</value>\r
<data name="MainViewModel_UnableToLaunchDestDirSolution" xml:space="preserve">\r
<value>Please check that you have a valid destination directory.</value>\r
</data>\r
+ <data name="MainViewModel_EncodeStatusChanged_SubScan_StatusLabel" xml:space="preserve">\r
+ <value>Processing Pass {0} of {1}, (Subtitle Scan) {2:00.00}%, Scan Time Remaining: {3}, Elapsed: {4:d\:hh\:mm\:ss}</value>\r
+ </data>\r
</root>
\ No newline at end of file
/// </summary>
[DataMember]
public TimeSpan ElapsedTime { get; set; }
+
+ /// <summary>
+ /// Gets or sets PassId.
+ /// </summary>
+ /// <remarks>
+ /// -1: Subtitle scan
+ /// 0: Encode
+ /// 1: Encode first pass
+ /// 2: Encode second pass
+ /// </remarks>
+ public int PassId { get; set; }
}
}
Task = e.Pass,
TaskCount = e.PassCount,
ElapsedTime = DateTime.Now - this.startTime,
+ PassId = e.PassId
};
this.InvokeEncodeStatusChanged(args);
{\r
if (this.queueProcessor.EncodeService.IsEncoding)\r
{\r
- this.ProgramStatusLabel =\r
- string.Format(Resources.MainViewModel_EncodeStatusChanged_StatusLabel + Resources.Main_JobsPending_addon,\r
+ string jobsPending = string.Format(Resources.Main_JobsPending_addon, this.queueProcessor.Count);\r
+ if (e.PassId == -1)\r
+ {\r
+ this.ProgramStatusLabel = string.Format(Resources.MainViewModel_EncodeStatusChanged_SubScan_StatusLabel,\r
+ e.Task,\r
+ e.TaskCount,\r
+ e.PercentComplete,\r
+ e.EstimatedTimeLeft,\r
+ e.ElapsedTime,\r
+ jobsPending);\r
+ }\r
+ else\r
+ {\r
+ this.ProgramStatusLabel =\r
+ string.Format(Resources.MainViewModel_EncodeStatusChanged_StatusLabel,\r
e.Task,\r
e.TaskCount,\r
e.PercentComplete,\r
- e.CurrentFrameRate, \r
- e.AverageFrameRate, \r
- e.EstimatedTimeLeft, \r
+ e.CurrentFrameRate,\r
+ e.AverageFrameRate,\r
+ e.EstimatedTimeLeft,\r
e.ElapsedTime,\r
- this.queueProcessor.Count);\r
+ jobsPending);\r
+ }\r
\r
if (lastEncodePercentage != percent && this.windowsSeven.IsWindowsSeven)\r
{\r