Skip to content

Conversation

@abitofevrything
Copy link

Changes
Fixes an issue where the ASS renderer would not render subtitles when adjusting the offset backwards due to frames for a position further forward being cached.

This PR also makes it so that subtitles update as the subtitle offset scroller is being moved, instead of only when it is released. This is slightly more convenient for setting the offset as desired.

Issues
Fixes #7439

@abitofevrything abitofevrything requested a review from a team as a code owner December 20, 2025 21:00
@jellyfin-bot
Copy link
Collaborator

jellyfin-bot commented Dec 20, 2025

Cloudflare Pages deployment

Latest commit b765cb5
Status ✅ Deployed!
Preview URL https://329d894b.jellyfin-web.pages.dev
Type 🔀 Preview

View build logs

@dmitrylyzo
Copy link
Contributor

I think it's better to fix the "cache stalling" in https://github.com/jellyfin/JavascriptSubtitlesOctopus (jellyfin/JavascriptSubtitlesOctopus#68).

@abitofevrything
Copy link
Author

abitofevrything commented Dec 22, 2025

Sounds good, if that fixes the issue. I'll put this as a draft for now and see what happens with your PR.

@abitofevrything abitofevrything marked this pull request as draft December 22, 2025 17:47
@abitofevrything abitofevrything marked this pull request as ready for review December 29, 2025 18:12
@abitofevrything abitofevrything force-pushed the feat/live-update-subtitles branch from 7390a54 to b765cb5 Compare December 29, 2025 18:13
@sonarqubecloud
Copy link

@abitofevrything
Copy link
Author

abitofevrything commented Dec 29, 2025

Reopened without the workaround for the underlying issue that has been fixed in the subtitle renderer itself. The dependency will need to be bumped when it releases.

The other change about updating the subtitle offset as the scrollbar is being moved is still a valid change.

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.

Unable to adjust subtitle offset backwards when using ASS

3 participants