* add initial models * migrations * edit break content mode * add and remove break content from ui * use autocompletes in deco editor * save break content to db * allow break content playlists * refactor default filler build * fix slow startup * start to implement adding break content * use clone; try to fix block breaks * fix updating history * use consistent removebefore values * cleanup logging * only allow playlist break content * update changelog
41 lines
1.8 KiB
C#
41 lines
1.8 KiB
C#
using ErsatzTV.Application.Graphics;
|
|
using ErsatzTV.Application.MediaCollections;
|
|
using ErsatzTV.Application.MediaItems;
|
|
using ErsatzTV.Application.Watermarks;
|
|
using ErsatzTV.Core.Domain;
|
|
using ErsatzTV.Core.Domain.Scheduling;
|
|
|
|
namespace ErsatzTV.ViewModels;
|
|
|
|
public class DecoEditViewModel
|
|
{
|
|
public int DecoGroupId { get; set; }
|
|
public string GroupName { get; set; }
|
|
public string Name { get; set; }
|
|
public DecoMode WatermarkMode { get; set; }
|
|
public IEnumerable<WatermarkViewModel> Watermarks { get; set; }
|
|
public bool UseWatermarkDuringFiller { get; set; }
|
|
|
|
public DecoMode GraphicsElementsMode { get; set; }
|
|
public IEnumerable<GraphicsElementViewModel> GraphicsElements { get; set; }
|
|
public bool UseGraphicsElementsDuringFiller { get; set; }
|
|
|
|
public DecoMode DefaultFillerMode { get; set; }
|
|
public CollectionType DefaultFillerCollectionType { get; set; }
|
|
public MediaCollectionViewModel DefaultFillerCollection { get; set; }
|
|
public MultiCollectionViewModel DefaultFillerMultiCollection { get; set; }
|
|
public SmartCollectionViewModel DefaultFillerSmartCollection { get; set; }
|
|
public NamedMediaItemViewModel DefaultFillerMediaItem { get; set; }
|
|
public bool DefaultFillerTrimToFit { get; set; }
|
|
|
|
public DecoMode DeadAirFallbackMode { get; set; }
|
|
public CollectionType DeadAirFallbackCollectionType { get; set; }
|
|
public MediaCollectionViewModel DeadAirFallbackCollection { get; set; }
|
|
public MultiCollectionViewModel DeadAirFallbackMultiCollection { get; set; }
|
|
public SmartCollectionViewModel DeadAirFallbackSmartCollection { get; set; }
|
|
public NamedMediaItemViewModel DeadAirFallbackMediaItem { get; set; }
|
|
|
|
public DecoMode BreakContentMode { get; set; }
|
|
public List<DecoBreakContentEditViewModel> BreakContent { get; set; } = [];
|
|
}
|