* start to add multi-collections * create multi collection with no items * edit multi collections * fix plex credentials threading issue * add playback order to multi collection items * group episodes outside of shuffled enumerator * move playback order onto each schedule item * fix multi collection grouping * update changelog
24 lines
932 B
C#
24 lines
932 B
C#
using System;
|
|
|
|
namespace ErsatzTV.Core.Domain
|
|
{
|
|
public abstract class ProgramScheduleItem
|
|
{
|
|
public int Id { get; set; }
|
|
public int Index { get; set; }
|
|
public StartType StartType => StartTime.HasValue ? StartType.Fixed : StartType.Dynamic;
|
|
public TimeSpan? StartTime { get; set; }
|
|
public ProgramScheduleItemCollectionType CollectionType { get; set; }
|
|
public string CustomTitle { get; set; }
|
|
public int ProgramScheduleId { get; set; }
|
|
public ProgramSchedule ProgramSchedule { 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 PlaybackOrder PlaybackOrder { get; set; }
|
|
}
|
|
}
|