From 8764e608dcdbacf34ad60aa08fd6d7553cbde548 Mon Sep 17 00:00:00 2001 From: stratumadev Date: Thu, 27 Nov 2025 23:41:39 +0000 Subject: [PATCH] feat(crunchy): add subtitleTimestampFix function (#1121) Fix Crunchyroll subtitles with invalid durations. If start > video length the line is deleted. If only end > video length end is trimmed to video duration. + Documentation --- docs/DOCUMENTATION.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/DOCUMENTATION.md b/docs/DOCUMENTATION.md index f146bb6..b31cbf9 100644 --- a/docs/DOCUMENTATION.md +++ b/docs/DOCUMENTATION.md @@ -275,6 +275,12 @@ Select if ScaledBorderAndShadow should be set to "yes" or "no". | Crunchyroll | `--originalScriptFix ` | `boolean` | `No`| `NaN` | `true`| `originalScriptFix: ` | Removes the URL in the Original Script line of the ASS subtitles, it prevents from bricking the subs in VLC (Fonts not loading when url not returning 200). +#### `--subtitleTimestampFix` +| **Service** | **Usage** | **Type** | **Required** | **Alias** | **Default** |**cli-default Entry** +| --- | --- | --- | --- | --- | --- | ---| +| Crunchyroll | `--subtitleTimestampFix ` | `boolean` | `No`| `NaN` | `false`| `subtitleTimestampFix: ` | + +Fixes subtitle dialogues that go over the video length (deletes dialogues where start is over video length and updates the end timestamp when end is over video length). #### `--novids` | **Service** | **Usage** | **Type** | **Required** | **Alias** | **cli-default Entry** | --- | --- | --- | --- | --- | ---|