Stream custom live channels using your own media
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

23 lines
694 B

using YamlDotNet.Serialization;
namespace ErsatzTV.Core.Scheduling.YamlScheduling.Models;
public class YamlPlayoutSchedule
{
public string Name { get; set; }
[YamlMember(Alias = "start_date", ApplyNamingConventions = false)]
public string StartDate { get; set; }
[YamlMember(Alias = "end_date", ApplyNamingConventions = false)]
public string EndDate { get; set; }
/// <summary>
/// Priority for schedule matching. Higher values are checked first. Default is 0.
/// </summary>
public int Priority { get; set; } = 0;
public List<YamlPlayoutInstruction> Reset { get; set; } = [];
public List<YamlPlayoutInstruction> Playout { get; set; } = [];
}