Refactor various components to improve code clarity and maintainability. Update ListUsersQueryHandler to utilize UserListFilter for parameter handling. Refactor BumperSpecFactory and related classes to encapsulate input parameters into dedicated records, enhancing readability. Adjust MediaAsset and Slot classes to streamline content updates with new content models. Improve BumperRenderBackgroundService and MediaProcessingBackgroundService to use MediaReadyInfo for asset readiness, ensuring consistent parameter management across the application.
This commit is contained in:
@@ -52,7 +52,9 @@ public sealed class TransactionIntegrationTests(PostgresFixture fixture)
|
||||
var channel = Channel.Create("c", $"c-{Guid.NewGuid():N}", DateTimeOffset.UnixEpoch);
|
||||
var show = Show.Create("Show", ShowKind.Series);
|
||||
var asset = MediaAsset.Register("ep.mkv", ".mkv", MediaSource.Upload);
|
||||
asset.MarkReady(TimeSpan.FromMinutes(20), 2, 600, 1920, 1080, "h264", "aac", "assets/x");
|
||||
asset.MarkReady(
|
||||
new MediaReadyInfo(TimeSpan.FromMinutes(20), 2, 600, 1920, 1080, "h264", "aac", "assets/x")
|
||||
);
|
||||
show.AddEpisode(asset.Id);
|
||||
var entry = ScheduleEntry.Program(
|
||||
channel.Id,
|
||||
|
||||
Reference in New Issue
Block a user