add playout via ui

This commit is contained in:
Jason Dove
2021-02-10 06:30:02 -06:00
parent 0f1309c2ae
commit 32f4bfcf08
10 changed files with 157 additions and 18 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ namespace ErsatzTV.Application.Playouts
new(GetDisplayTitle(playoutItem.MediaItem), playoutItem.Start, GetDisplayDuration(playoutItem.MediaItem));
private static PlayoutChannelViewModel Project(Channel channel) =>
new(channel.Id, channel.Name);
new(channel.Id, channel.Number, channel.Name);
private static PlayoutProgramScheduleViewModel Project(ProgramSchedule programSchedule) =>
new(programSchedule.Id, programSchedule.Name);
@@ -1,4 +1,4 @@
namespace ErsatzTV.Application.Playouts
{
public record PlayoutChannelViewModel(int Id, string Name);
public record PlayoutChannelViewModel(int Id, int Number, string Name);
}