Files
ersatztv/ErsatzTV.Core/Domain/Scheduling/DecoBreakContent.cs
T
Jason DoveandGitHub 788a1ecdc4 add deco break content (#2446)
* 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
2025-09-19 18:48:51 +00:00

21 lines
761 B
C#

namespace ErsatzTV.Core.Domain.Scheduling;
public class DecoBreakContent
{
public int Id { get; set; }
public int DecoId { get; set; }
public Deco Deco { get; set; }
public CollectionType CollectionType { get; set; }
public int? CollectionId { get; set; }
public Collection Collection { get; set; }
public int? MediaItemId { get; set; }
public MediaItem MediaItem { get; set; }
public int? MultiCollectionId { get; set; }
public MultiCollection MultiCollection { get; set; }
public int? SmartCollectionId { get; set; }
public SmartCollection SmartCollection { get; set; }
public int? PlaylistId { get; set; }
public Playlist Playlist { get; set; }
public DecoBreakPlacement Placement { get; set; }
}