add xmltv block behavior setting (#2336)

* replace playout externaljsonfile and templatefile with schedulefile

* add scripted schedule-based playout

* wip - not functional yet

* temp disable scripted playout creation

* allow fast-forwarding block playouts

* add xmltv block behavior setting
This commit is contained in:
Jason Dove
2025-08-23 20:16:12 +00:00
committed by GitHub
parent e06ee54070
commit 53f281ce32
76 changed files with 25611 additions and 144 deletions
@@ -0,0 +1,23 @@
using System.Diagnostics.CodeAnalysis;
using ErsatzTV.Core.Interfaces.Scheduling;
namespace ErsatzTV.Core.Scheduling.ScriptedScheduling.Modules;
[SuppressMessage("Naming", "CA1707:Identifiers should not contain underscores")]
public class ContentModule
{
private Dictionary<string, IMediaCollectionEnumerator> _contentEnumerators = [];
public bool add_collection(string key, string name, string order)
{
if (_contentEnumerators.ContainsKey(key))
{
return false;
}
Console.WriteLine($"Adding collection '{name}' with key '{key}' and order '{order}'");
_contentEnumerators.Clear();
return true;
}
}