private void HandleLoadBluRay()
{
_bindingListBluRaySummaryInfo = new BindingList<BluRaySummaryInfo>();
//Blu ray streams
_commandLineProcessStartInfo = new CommandLineProcessStartInfo()
{
FileName = _eac3ToPath,
Arguments = string.Format("\"{0}\"", _currentBluRayDiscInfo.BluRayPath)
};
ICommandLineProcessService commandLineProcessService = new CommandLineProcessService(_commandLineProcessStartInfo);
if (commandLineProcessService.Errors.Count() == 0)
{
bgwEac3toLoadSummary.RunWorkerAsync(commandLineProcessService);
}
else
{
MessageBox.Show(commandLineProcessService.Errors.GetErrorMessage(), "Errors Occurred.", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}