private void LoadBluRayTitleInfo()
{
CommandLineProcessStartInfo commandLineProcessStartInfo = new CommandLineProcessStartInfo()
{
FileName = _eac3ToConfiguration.EAC3ToPath,
Arguments = string.Format("\"{0}\" {1}", _bluRayPath, _bluRaySummaryInfo.Eac3ToId)
};
ICommandLineProcessService commandLineProcessService = new CommandLineProcessService(commandLineProcessStartInfo);
if (commandLineProcessService.Errors.Count() == 0)
{
bgwEac3toLoadTitle.RunWorkerAsync(commandLineProcessService);
}
else
{
gbScreen.SetEnabled(true);
MessageBox.Show(commandLineProcessService.Errors.GetErrorMessage(), "Errors Occurred.", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}