* Use chapters in duration filler * add new option, migrations, and update filler preset editor * Revert "Use chapters in duration filler" This reverts commit d87a8a240a78c1cbca7b311125f8d3a84645d296. * scaffold splitting filler by chapter * implement chapters as filler * update changelog * re-add migrations * Add duration for ChapterMediaItem --------- Co-authored-by: Jason Dove <1695733+jasongdove@users.noreply.github.com>
15 lines
345 B
C#
15 lines
345 B
C#
namespace ErsatzTV.Core.Domain;
|
|
|
|
public class ChapterMediaVersion : MediaVersion
|
|
{
|
|
public ChapterMediaVersion(MediaChapter chapter)
|
|
{
|
|
InPoint = chapter.StartTime;
|
|
Duration = chapter.EndTime - chapter.StartTime;
|
|
Title = chapter.Title;
|
|
}
|
|
|
|
public TimeSpan InPoint { get; }
|
|
public string Title { get; }
|
|
}
|