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.

44 lines
1.4 KiB

using ErsatzTV.FFmpeg.State;
namespace ErsatzTV.Core.Domain;
public class ChannelWatermark
{
public int Id { get; set; }
public string Name { get; set; }
public ChannelWatermarkMode Mode { get; set; }
public ChannelWatermarkImageSource ImageSource { get; set; }
public string Image { get; set; }
public string OriginalContentType { get; set; }
public WatermarkLocation Location { get; set; }
public WatermarkSize Size { get; set; }
public double WidthPercent { get; set; }
public double HorizontalMarginPercent { get; set; }
public double VerticalMarginPercent { get; set; }
public int FrequencyMinutes { get; set; }
public int DurationSeconds { get; set; }
public int Opacity { get; set; }
public bool PlaceWithinSourceContent { get; set; }
public string OpacityExpression { get; set; }
public List<PlayoutItem> PlayoutItems { get; set; }
public List<PlayoutItemWatermark> PlayoutItemWatermarks { get; set; }
public List<ProgramScheduleItem> ProgramScheduleItems { get; set; }
public List<ProgramScheduleItemWatermark> ProgramScheduleItemWatermarks { get; set; }
public int ZIndex { get; set; }
}
public enum ChannelWatermarkMode
{
None = 0,
Permanent = 1,
Intermittent = 2,
OpacityExpression = 3
}
public enum ChannelWatermarkImageSource
{
Custom = 0,
ChannelLogo = 1,
Resource = 100
}