Skip to content

[codex] fix hls duration and subtitle export#60

Merged
KyleTryon merged 1 commit into
mainfrom
codex/fix-hls-duration-subtitle-export
May 24, 2026
Merged

[codex] fix hls duration and subtitle export#60
KyleTryon merged 1 commit into
mainfrom
codex/fix-hls-duration-subtitle-export

Conversation

@KyleTryon
Copy link
Copy Markdown
Contributor

Summary

  • Keep provider item duration as the floor when HLS playlist metadata reports a shorter window.
  • Pass original subtitle cues into export so burn-in trimming happens exactly once.

Root Cause

Plex HLS playlist metadata can describe only the current transcode or buffered window. The editor replaced the full provider duration with that shorter value. Subtitle export also received already-trimmed cues, then exportClip trimmed them a second time, dropping cues for non-zero clip starts.

Validation

  • pnpm --filter @cliparr/frontend lint:types
  • pnpm --filter @cliparr/frontend lint:eslint
  • pnpm --filter @cliparr/frontend build

@KyleTryon KyleTryon marked this pull request as ready for review May 24, 2026 18:06
@KyleTryon KyleTryon merged commit 35e3131 into main May 24, 2026
2 checks passed
@KyleTryon KyleTryon deleted the codex/fix-hls-duration-subtitle-export branch May 26, 2026 03:34
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