Esempio n. 1
0
        public static string GenerateQpFile(ChapterInfo chapterInfo, Timecode timecode)
        {
            StringBuilder qpFile = new StringBuilder();

            foreach (var chapter in chapterInfo.Chapters)
            {
                qpFile.AppendLine($"{timecode.GetFrameNumberFromTimeSpan(chapter.Time)} I");
            }

            return(qpFile.ToString());
        }