Skip to content

various subtitle changes including ASS format for senshi#109

Merged
Wraient merged 2 commits into
Wraient:mainfrom
TruSoggy:fix/softsubsenshi
Jul 22, 2026
Merged

various subtitle changes including ASS format for senshi#109
Wraient merged 2 commits into
Wraient:mainfrom
TruSoggy:fix/softsubsenshi

Conversation

@TruSoggy

Copy link
Copy Markdown
Contributor

I noticed the soft subs breaking in senshi alot.

an example can be found in The Exiled Heavy Knight Knows How to Game the System Episode 2 at around 5:14

@TruSoggy
TruSoggy marked this pull request as draft July 12, 2026 09:01
@TruSoggy

Copy link
Copy Markdown
Contributor Author

found another edge case

@TruSoggy

Copy link
Copy Markdown
Contributor Author

nevermind... senshi just f*d up the ENG subtitle entry... it has barely any lines in it

@TruSoggy
TruSoggy marked this pull request as ready for review July 12, 2026 11:40
@Wraient

Wraient commented Jul 22, 2026

Copy link
Copy Markdown
Owner

Thanks! would review and merge it now!

@Wraient Wraient left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Looks good — solid fix for Senshi softsubs.

  • Prefer validated ASS when present (range-check + Script Info/styles)
  • Sanitize broken WebVTT (blank lines splitting cues, \\h spacing) — matches the 5:14 case
  • Skip forced/signs tracks before full dialogue
  • Wait for MPV path/duration before sub-add on reused instances
  • Local VTT cache with size limit + cleanup

Tests cover the new paths. Approving and squash-merging.

@Wraient
Wraient merged commit 0f2cbb7 into Wraient:main Jul 22, 2026
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.

2 participants