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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user