add external json playout type for dizquetv interop (#1539)

* add external json playout

* basic local playback works

* fallback to streaming from plex

* update external json file

* update changelog
This commit is contained in:
Jason Dove
2024-01-08 19:45:43 -06:00
committed by GitHub
parent 6708d6b4d7
commit 0330b9326d
38 changed files with 5420 additions and 124 deletions
@@ -3,7 +3,11 @@ using ErsatzTV.Core.Domain;
namespace ErsatzTV.Application.Playouts;
public record CreatePlayout(
int ChannelId,
int ProgramScheduleId,
ProgramSchedulePlayoutType ProgramSchedulePlayoutType) : IRequest<Either<BaseError, CreatePlayoutResponse>>;
public record CreatePlayout(int ChannelId, ProgramSchedulePlayoutType ProgramSchedulePlayoutType)
: IRequest<Either<BaseError, CreatePlayoutResponse>>;
public record CreateFloodPlayout(int ChannelId, int ProgramScheduleId)
: CreatePlayout(ChannelId, ProgramSchedulePlayoutType.Flood);
public record CreateExternalJsonPlayout(int ChannelId, string ExternalJsonFile)
: CreatePlayout(ChannelId, ProgramSchedulePlayoutType.ExternalJson);