mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
530 B
18 lines
530 B
using ErsatzTV.Core.Domain; |
|
|
|
namespace ErsatzTV.Core.Interfaces.Scheduling; |
|
|
|
public interface IPlayoutItemConverter |
|
{ |
|
Task<Option<Core.Next.PlayoutItem>> ToNext( |
|
string channelNumber, |
|
PlayoutItem playoutItem, |
|
CancellationToken cancellationToken); |
|
|
|
Task<Option<Core.Next.PlayoutItem>> ToNext( |
|
Option<Channel> maybeChannel, |
|
Option<ChannelWatermark> maybeGlobalWatermark, |
|
TimeSpan playoutOffset, |
|
PlayoutItem playoutItem, |
|
CancellationToken cancellationToken); |
|
}
|
|
|