add playout via ui
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user