private void LoadDTSExpressAudioDefaultSettings()
 {
     if (_applicationSettings.BluRayTitleInfoDefaultSettings.Audio.Where(a => a.Type == EnumAudioType.DTSEXPRESS).Count() == 0)
     {
         BluRayTitleInfoDefaultSettingsAudio audio = new BluRayTitleInfoDefaultSettingsAudio() { Arguments = "", DefaultType = _audioService.GetAudioTypeName(EnumAudioType.DTSEXPRESS), Type = EnumAudioType.DTSEXPRESS, Name = _audioService.GetAudioTypeName(EnumAudioType.DTSEXPRESS) };
         _applicationSettings.BluRayTitleInfoDefaultSettings.Audio.Add(audio);
     }
 }
        private void ResetBluRayTitleInfoDefaultSettings()
        {
            _applicationSettings.BluRayTitleInfoDefaultSettings = new BluRayTitleInfoDefaultSettings() { Enabled = true, SelectChapters = true, SelectAllSubtitles = true };

            var bluRayAudioTypes = _audioService.GetBluRayAudioTypes();

            foreach (EnumAudioType type in bluRayAudioTypes)
            {
                BluRayTitleInfoDefaultSettingsAudio audio = new BluRayTitleInfoDefaultSettingsAudio() { Arguments = "", DefaultType = type.ToString(), Type = type, Name = type.ToString() };
                if (type == EnumAudioType.DTSMA)
                {
                    audio.DefaultType = EnumAudioType.DTSMA.ToString();
                    audio.Arguments = "-core";
                }
                if (type == EnumAudioType.DTSEXPRESS)
                {
                    audio.DefaultType = _audioService.GetAudioTypeName(EnumAudioType.DTSEXPRESS);
                    audio.Name = _audioService.GetAudioTypeName(EnumAudioType.DTSEXPRESS);
                }
                else if (type == EnumAudioType.LPCM)
                {
                    audio.DefaultType = EnumAudioType.FLAC.ToString();
                }
                else if (type == EnumAudioType.TrueHD)
                {
                    audio.DefaultType = EnumAudioType.AC3.ToString();
                    audio.Arguments = "-640";
                }
                _applicationSettings.BluRayTitleInfoDefaultSettings.Audio.Add(audio);
            }
        }