From 04cf12cc449aaba4e7da1ee5e3fc38f2a615c794 Mon Sep 17 00:00:00 2001 From: denis-tingaikin Date: Tue, 18 Mar 2025 18:52:29 +0300 Subject: [PATCH] store blobid in meta Signed-off-by: denis-tingaikin --- internal/pkg/mediaconvert/scheduler.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/pkg/mediaconvert/scheduler.go b/internal/pkg/mediaconvert/scheduler.go index 83894425db..aac40c1466 100644 --- a/internal/pkg/mediaconvert/scheduler.go +++ b/internal/pkg/mediaconvert/scheduler.go @@ -216,8 +216,8 @@ func (p *Scheduler) processTask(ctx context.Context, task *Task) { var hls = HLS{ Width: probe.FirstVideoStream().Width, Height: probe.FirstVideoStream().Height, - Source: p.cfg.Endpoint().JoinPath("blob", task.Workspace, task.ID+"_master.m3u8").String(), - Thumbnail: p.cfg.Endpoint().JoinPath("blob", task.Workspace, task.ID+".jpg").String(), + Source: task.ID + "_master.m3u8", + Thumbnail: task.ID + ".jpg", } logger.Debug("applying metadata", zap.String("url", hls.Source), zap.String("thumbnail", hls.Thumbnail), zap.String("source", task.Source))