* start to add smart collections * add smart collection table; delete smart collection * overwrite smart collections * support scheduling smart collections * update changelog
25 lines
746 B
C#
25 lines
746 B
C#
using System;
|
|
using ErsatzTV.Core;
|
|
using ErsatzTV.Core.Domain;
|
|
using LanguageExt;
|
|
using MediatR;
|
|
|
|
namespace ErsatzTV.Application.ProgramSchedules.Commands
|
|
{
|
|
public record AddProgramScheduleItem(
|
|
int ProgramScheduleId,
|
|
StartType StartType,
|
|
TimeSpan? StartTime,
|
|
PlayoutMode PlayoutMode,
|
|
ProgramScheduleItemCollectionType CollectionType,
|
|
int? CollectionId,
|
|
int? MultiCollectionId,
|
|
int? SmartCollectionId,
|
|
int? MediaItemId,
|
|
PlaybackOrder PlaybackOrder,
|
|
int? MultipleCount,
|
|
TimeSpan? PlayoutDuration,
|
|
bool? OfflineTail,
|
|
string CustomTitle) : IRequest<Either<BaseError, ProgramScheduleItemViewModel>>, IProgramScheduleItemRequest;
|
|
}
|