add scripted add_all, add_duration, pad_to_next, pad_until (#2342)

* add add_all

* add add_duration

* add pad_to_next

* add pad_until
This commit is contained in:
Jason Dove
2025-08-24 17:49:18 +00:00
committed by GitHub
parent 605c57bef3
commit a072e4357e
6 changed files with 730 additions and 0 deletions
@@ -38,6 +38,12 @@ public interface ISchedulingEngine
Task AddShow(string key, Dictionary<string, string> guids, PlaybackOrder playbackOrder);
// content instructions
bool AddAll(
string content,
Option<FillerKind> fillerKind,
string customTitle,
bool disableWatermarks);
bool AddCount(
string content,
int count,
@@ -45,6 +51,41 @@ public interface ISchedulingEngine
string customTitle,
bool disableWatermarks);
bool AddDuration(
string content,
string duration,
string fallback,
bool trim,
int discardAttempts,
bool stopBeforeEnd,
bool offlineTail,
Option<FillerKind> maybeFillerKind,
string customTitle,
bool disableWatermarks);
bool PadToNext(
string content,
int minutes,
string fallback,
bool trim,
int discardAttempts,
Option<FillerKind> maybeFillerKind,
string customTitle,
bool disableWatermarks);
bool PadUntil(
string content,
string padUntil,
bool tomorrow,
string fallback,
bool trim,
int discardAttempts,
bool stopBeforeEnd,
bool offlineTail,
Option<FillerKind> maybeFillerKind,
string customTitle,
bool disableWatermarks);
// control instructions
void LockGuideGroup(bool advance);
void UnlockGuideGroup();