Skip to content

feat: larger playlist cover images in editorial template#137

Open
recoup-coding-agent wants to merge 2 commits intomainfrom
feature/rec-66-larger-playlist-covers
Open

feat: larger playlist cover images in editorial template#137
recoup-coding-agent wants to merge 2 commits intomainfrom
feature/rec-66-larger-playlist-covers

Conversation

@recoup-coding-agent
Copy link
Copy Markdown
Collaborator

@recoup-coding-agent recoup-coding-agent commented Apr 14, 2026

Summary

  • Increases OVERLAY_SIZE from 150px to 250px (~35% of frame width, up from ~21%) in both buildStaticImageArgs.ts and buildFilterComplex.ts
  • Playlist cover images overlaid on editorial template videos are now significantly larger to meet record label customer needs
  • Updates all corresponding tests to reflect new overlay dimensions

Test plan

  • All 9 tests in buildStaticImageArgs.test.ts and buildFilterComplex.test.ts updated and passing
  • Full test suite (355 tests) passing
  • Deploy to staging and verify editorial template video/image renders with larger covers

Note: This PR builds on feature/rec-65-editorial-static-image (PR #136) which must be merged first.

🤖 Generated with Claude Code


Summary by cubic

Increase playlist cover overlays from 150px to 250px in the editorial template and add a static image render that uses the same overlays. Implements REC-66 and returns a staticImageUrl alongside the video.

  • New Features
    • Increased overlay size to 250px in both video and static-image pipelines.
    • Added static-image render (crop to 9:16, scale 720×1280) with vertically stacked overlays.
    • createContentTask now renders a static image when overlays are used and includes staticImageUrl in the output.
    • pollContentRuns now surfaces imageUrl from task output.
    • Added tests for static-image rendering and updated existing overlay-size expectations.

Written for commit 34b58de. Summary will update on new commits.

CTO Agent and others added 2 commits April 14, 2026 21:00
Editorial content now renders both a video and a static image (editorial
base with playlist cover overlays). The static image is passed through
the callback chain as `staticImageUrl` alongside the video.

- New `buildStaticImageArgs` — ffmpeg args for single-frame image render
- New `renderStaticImage` — downloads base + overlays, runs ffmpeg, uploads PNG
- `createContentTask` renders static image when template uses overlay
- `pollContentRuns` extracts `imageUrl` from task output
- 12 new tests (all green)

Co-Authored-By: Paperclip <noreply@paperclip.ing>
Playlist covers overlaid on editorial template videos were too small
for record label customers. Increase OVERLAY_SIZE from 150 to 250
in both static image and video filter pipelines.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 14, 2026

Warning

Rate limit exceeded

@recoup-coding-agent has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 19 minutes and 50 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 19 minutes and 50 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 6ff2373d-fa81-44c3-8180-f306a4c1176f

📥 Commits

Reviewing files that changed from the base of the PR and between ddf9404 and 34b58de.

📒 Files selected for processing (11)
  • src/content/__tests__/buildFilterComplex.test.ts
  • src/content/__tests__/buildStaticImageArgs.test.ts
  • src/content/__tests__/pollContentRuns.test.ts
  • src/content/__tests__/renderStaticImage.test.ts
  • src/content/buildFilterComplex.ts
  • src/content/buildStaticImageArgs.ts
  • src/content/pollContentRuns.ts
  • src/content/renderStaticImage.ts
  • src/tasks/__tests__/createContentTask.test.ts
  • src/tasks/__tests__/createContentTaskApi.test.ts
  • src/tasks/createContentTask.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/rec-66-larger-playlist-covers

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 11 files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant