Files
ersatztv/ErsatzTV.Core/Graphics/ScriptGraphicsElement.cs
T
Jason DoveandGitHub c524bc0d7d add script graphics element (#2681)
* add script graphics element

* pass template data as json to stdin

* update changelog
2025-11-30 14:20:18 -06:00

28 lines
936 B
C#

using YamlDotNet.Serialization;
namespace ErsatzTV.Core.Graphics;
public class ScriptGraphicsElement : BaseGraphicsElement
{
[YamlMember(Alias = "command", ApplyNamingConventions = false)]
public string Command { get; set; }
[YamlMember(Alias = "args", ApplyNamingConventions = false)]
public List<string> Arguments { get; set; }
[YamlMember(Alias = "z_index", ApplyNamingConventions = false)]
public int? ZIndex { get; set; }
[YamlMember(Alias = "epg_entries", ApplyNamingConventions = false)]
public int EpgEntries { get; set; }
[YamlMember(Alias = "start_seconds", ApplyNamingConventions = false)]
public double? StartSeconds { get; set; }
[YamlMember(Alias = "duration_seconds", ApplyNamingConventions = false)]
public double? DurationSeconds { get; set; }
[YamlMember(Alias = "pixel_format", ApplyNamingConventions = false)]
public string PixelFormat { get; set; }
}