Ejemplo n.º 1
0
        public string GetChapterStreamPart()
        {
            StringBuilder sb = new StringBuilder();

            if (_bluRaySummaryInfo.BluRayTitleInfo.Chapter != null)
            {
                if (_bluRaySummaryInfo.BluRayTitleInfo.Chapter.IsSelected)
                {
                    sb.Append(string.Format("{0} ", _bluRaySummaryInfo.BluRayTitleInfo.Chapter.Id));
                    sb.Append(_eac3ToOutputNamingService.GetChapterName(_eac3ToConfiguration, _filesOutputPath, _paddedEpisodeNumber, _bluRaySummaryInfo.BluRayTitleInfo.EpisodeName));
                }
            }
            return(sb.ToString());
        }
Ejemplo n.º 2
0
        public string GetChaptersPart()
        {
            StringBuilder sb = new StringBuilder();

            if (_bluRaySummaryInfo.BluRayTitleInfo.Chapter != null && _bluRaySummaryInfo.BluRayTitleInfo.Chapter.IsSelected)
            {
                sb.Append(string.Format("--chapter-language eng --chapters ^\"{0}^\"", _eac3ToOutputNamingService.GetChapterName(_eac3ToConfiguration, _filesOutputPath, _paddedEpisodeNumber, _bluRaySummaryInfo.BluRayTitleInfo.EpisodeName).RemoveDoubleQuotes()));
            }
            return(sb.ToString());
        }