|
|
|
@ -332,8 +332,9 @@ public class GetPlayoutItemProcessByChannelNumberHandler : FFmpegProcessHandler< |
|
|
|
duration, |
|
|
|
duration, |
|
|
|
finish, |
|
|
|
finish, |
|
|
|
true, |
|
|
|
true, |
|
|
|
now.ToUnixTimeSeconds(), |
|
|
|
effectiveNow.ToUnixTimeSeconds(), |
|
|
|
Option<int>.None); |
|
|
|
Option<int>.None, |
|
|
|
|
|
|
|
Optional(channel.PlayoutOffset)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
MediaVersion version = playoutItemWithPath.PlayoutItem.MediaItem.GetHeadVersion(); |
|
|
|
MediaVersion version = playoutItemWithPath.PlayoutItem.MediaItem.GetHeadVersion(); |
|
|
|
@ -463,7 +464,8 @@ public class GetPlayoutItemProcessByChannelNumberHandler : FFmpegProcessHandler< |
|
|
|
finish, |
|
|
|
finish, |
|
|
|
isComplete, |
|
|
|
isComplete, |
|
|
|
effectiveNow.ToUnixTimeSeconds(), |
|
|
|
effectiveNow.ToUnixTimeSeconds(), |
|
|
|
playoutItemResult.MediaItemId); |
|
|
|
playoutItemResult.MediaItemId, |
|
|
|
|
|
|
|
Optional(channel.PlayoutOffset)); |
|
|
|
|
|
|
|
|
|
|
|
return Right<BaseError, PlayoutItemProcessModel>(result); |
|
|
|
return Right<BaseError, PlayoutItemProcessModel>(result); |
|
|
|
} |
|
|
|
} |
|
|
|
@ -519,7 +521,8 @@ public class GetPlayoutItemProcessByChannelNumberHandler : FFmpegProcessHandler< |
|
|
|
finish, |
|
|
|
finish, |
|
|
|
true, |
|
|
|
true, |
|
|
|
now.ToUnixTimeSeconds(), |
|
|
|
now.ToUnixTimeSeconds(), |
|
|
|
Option<int>.None); |
|
|
|
Option<int>.None, |
|
|
|
|
|
|
|
Optional(channel.PlayoutOffset)); |
|
|
|
case PlayoutItemDoesNotExistOnDisk: |
|
|
|
case PlayoutItemDoesNotExistOnDisk: |
|
|
|
Command doesNotExistProcess = await _ffmpegProcessService.ForError( |
|
|
|
Command doesNotExistProcess = await _ffmpegProcessService.ForError( |
|
|
|
ffmpegPath, |
|
|
|
ffmpegPath, |
|
|
|
@ -541,7 +544,8 @@ public class GetPlayoutItemProcessByChannelNumberHandler : FFmpegProcessHandler< |
|
|
|
finish, |
|
|
|
finish, |
|
|
|
true, |
|
|
|
true, |
|
|
|
now.ToUnixTimeSeconds(), |
|
|
|
now.ToUnixTimeSeconds(), |
|
|
|
Option<int>.None); |
|
|
|
Option<int>.None, |
|
|
|
|
|
|
|
Optional(channel.PlayoutOffset)); |
|
|
|
default: |
|
|
|
default: |
|
|
|
Command errorProcess = await _ffmpegProcessService.ForError( |
|
|
|
Command errorProcess = await _ffmpegProcessService.ForError( |
|
|
|
ffmpegPath, |
|
|
|
ffmpegPath, |
|
|
|
@ -563,7 +567,8 @@ public class GetPlayoutItemProcessByChannelNumberHandler : FFmpegProcessHandler< |
|
|
|
finish, |
|
|
|
finish, |
|
|
|
true, |
|
|
|
true, |
|
|
|
now.ToUnixTimeSeconds(), |
|
|
|
now.ToUnixTimeSeconds(), |
|
|
|
Option<int>.None); |
|
|
|
Option<int>.None, |
|
|
|
|
|
|
|
Optional(channel.PlayoutOffset)); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|