示例#1
0
 private void MKVMergeWarnings(WarningCollection warnings)
 {
     if (_batchGuyEAC3ToSettings.EAC3ToSettings.EAC3ToOutputPath == _batchGuyEAC3ToSettings.EAC3ToSettings.MKVMergeOutputPath)
     {
         warnings.Add(new Warning()
         {
             Id = 0, Description = "The eac3to output path is the same as mkvmerge output path and could have output file name conflicts!"
         });
     }
 }
        private bool DiscSelectedWithNoSummarySelected()
        {
            bool hasWarning = false;

            foreach (BluRayDiscInfo disc in _discs.Where(d => d.IsSelected))
            {
                if (disc.BluRaySummaryInfoList == null || disc.BluRaySummaryInfoList.Where(s => s.IsSelected == true).Count() == 0)
                {
                    _warnings.Add(new Warning()
                    {
                        Description = string.Format("Disc {0} selected but no summary selected", disc.DiscName)
                    });
                    hasWarning = true;
                }
            }
            return(hasWarning);
        }
 private void MKVMergeWarnings(WarningCollection warnings)
 {
     if (_batchGuyEAC3ToSettings.EAC3ToSettings.EAC3ToOutputPath == _batchGuyEAC3ToSettings.EAC3ToSettings.MKVMergeOutputPath)
     {
         warnings.Add(new Warning() { Id = 0, Description = "The eac3to output path is the same as mkvmerge output path and could have output file name conflicts!" });
     }
 }