* add multi_part; refactor skipping items * save and apply history for yaml playouts * do not remove history on yaml playout reset
27 lines
756 B
C#
27 lines
756 B
C#
namespace ErsatzTV.Core.Domain.Scheduling;
|
|
|
|
public class PlayoutHistory
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public int PlayoutId { get; set; }
|
|
public Playout Playout { get; set; }
|
|
|
|
public int? BlockId { get; set; }
|
|
public Block Block { get; set; }
|
|
public PlaybackOrder PlaybackOrder { get; set; }
|
|
public int Index { get; set; }
|
|
|
|
// something that uniquely identifies the collection within the block
|
|
public string Key { get; set; }
|
|
|
|
// last occurence of an item from this collection in the playout
|
|
public DateTime When { get; set; }
|
|
|
|
// used to efficiently ignore/remove "still active" history items
|
|
public DateTime Finish { get; set; }
|
|
|
|
// details about the item
|
|
public string Details { get; set; }
|
|
}
|