diff --git a/apps/master-api/src/app.ts b/apps/master-api/src/app.ts index b631f67..fcacdef 100644 --- a/apps/master-api/src/app.ts +++ b/apps/master-api/src/app.ts @@ -106,7 +106,7 @@ async function main() { return { status: "ok", service: "master-api", - version: "1.0.3-vod-assert-v6", + version: "1.0.3-vod-assert-v6b", lastVodPlay: getLastVodPlay(), }; }); diff --git a/apps/master-api/src/viaplay/client.ts b/apps/master-api/src/viaplay/client.ts index 9b79c2c..5c76faf 100644 --- a/apps/master-api/src/viaplay/client.ts +++ b/apps/master-api/src/viaplay/client.ts @@ -958,8 +958,8 @@ function assertVodPlayMatchesGuid( } const durationMs = Number(body.duration); if (Number.isFinite(durationMs) && durationMs > 0) { - // Korte slate / bumper i.p.v. echte samenvatting - if (wantsClip && durationMs < 60_000) { + // Ultrashorte bumper/slate i.p.v. echte clip (highlights mogen ~30–60s zijn) + if (wantsClip && durationMs < 15_000) { throw new Error( `Viaplay gaf te korte stream (${Math.round(durationMs / 1000)}s) — promo-slate?` );