private void LoadMKVSettingsControls()
{
if (_batchGuyEAC3ToSettings.AVSBatchSettings == null)
_batchGuyEAC3ToSettings.AVSBatchSettings = new AviSynthBatchSettings() { VideoFilter = "FFVideoSource" };
_batchGuyEAC3ToSettings.AVSBatchSettings.VideoToEncodeDirectory = _batchGuyEAC3ToSettings.EAC3ToSettings.EAC3ToOutputPath;
_batchGuyEAC3ToSettings.AVSBatchSettings.VideoToEncodeDirectoryType = _batchGuyEAC3ToSettings.EAC3ToSettings.OutputDirectoryType;
txtMKVFilesDirectory.Text = _batchGuyEAC3ToSettings.AVSBatchSettings.VideoToEncodeDirectory;
txtOutputDirectory.Text = _batchGuyEAC3ToSettings.AVSBatchSettings.AviSynthFilesOutputDirectoryPath;
txtNumberOfFiles.Text = _batchGuyEAC3ToSettings.BluRayDiscs.NumberOfEpisodes().ToString();
cbVideoFilter.SelectedIndex = cbVideoFilter.FindString(_batchGuyEAC3ToSettings.AVSBatchSettings.VideoFilter);
txtFFMSIndexOutputDirectory.Text = _batchGuyEAC3ToSettings.EAC3ToSettings.FFMSIndextBatchFilePath;
if (_batchGuyEAC3ToSettings.AVSScript == null)
{
this.SetAviSynthTemplateTextBox();
_batchGuyEAC3ToSettings.AVSScript = new AviSynthTemplateScript() { Script = txtAVSTemplate.Text };
}
else
{
txtAVSTemplate.Text = _batchGuyEAC3ToSettings.AVSScript.Script;
}
}