fix(subtitle): join cues that a segment boundary splits in stpp and wvtt

Share one append_cue join across DASH fTTML, ISM and fVTT parsing. Also map "geo-block" and "geolocation" errors to GEOFENCE in the API.
This commit is contained in:
imSp4rky
2026-10-31 15:59:12 -06:00
parent c6c0331007
commit 65e807bf5f
5 changed files with 36 additions and 15 deletions
+2
View File
@@ -114,6 +114,8 @@ def test_build_error_response_debug_mode_includes_traceback() -> None:
(TimeoutError("read timeout"), APIErrorCode.NETWORK_ERROR),
(Exception("Not available in your region"), APIErrorCode.GEOFENCE),
(Exception("Service is geoblocked in GB"), APIErrorCode.GEOFENCE),
(Exception("Content is geo-blocked."), APIErrorCode.GEOFENCE),
(Exception("Manifest request failed: GeoLocationBlocked"), APIErrorCode.GEOFENCE),
(
Exception("Service is not available in your region (GB)"),
APIErrorCode.GEOFENCE,