github xtremexq/StremioSubMaker v1.4.27
SubMaker v1.4.27-beta

latest releases: v1.4.98, v1.4.97, v1.4.96...
11 months ago

SubMaker v1.4.27

Improvements:

  • Localization cleanup: Removed hardcoded English strings in Sub Toolbox, History, and Sync pages.
  • Manifest logging: Added detailed request metadata logging (client IP, forwarded headers) for debugging.
  • Auto-subs retry UX: Renamed "Retranslate" to "Retry translation," improved button fallbacks, and only show download actions when SRT exists.
  • Layout tweaks: Adjusted step card alignment for cleaner auto-subs layout on larger screens
  • O(1) index existence checks: Added fast EXISTS checks to syncCache and embeddedCache before falling back to expensive SCAN operations. For new videos (never synced/embedded), lookups now return immediately instead of scanning all Redis keys. This alone can reduce latency by 60-80% for first-time video requests.
  • Parallel sync cache lookups: Changed xSync subtitle lookups from sequential per-language loops to parallel Promise.all() execution. With 2 configured languages, this halves the sync cache lookup time.
  • Parallel embedded cache preloading: Both embedded originals AND translations are now fetched in parallel at the start of subtitle handler, stored in Maps, and reused throughout the request. This eliminates 2 redundant Redis calls that were happening later in the flow.
  • Eliminated duplicate listEmbeddedOriginals call: The xEmbed section was calling listEmbeddedOriginals() a second time despite the data already being cached in embeddedOriginalsByHash Map. Now reuses the pre-fetched data.
  • Eliminated duplicate listEmbeddedTranslations call: The xEmbed section was calling listEmbeddedTranslations() despite translations already being pre-fetched. Now reuses the embeddedTranslationsByHash Map.

Bug Fixes:

  • Config reset scope fix: Fixed config reset throwing ReferenceError by keeping the fresh token in scope for the reload step.
  • Locale key flash fix: Prevented raw i18n keys from appearing briefly before localized text loads on config pages.
  • Stream hash mismatch resolution: Fixed hash mismatch errors when pasting debrid/addon stream URLs (e.g., /resolve/realdebrid/...). These URLs redirect to CDN URLs containing the actual filename, but the hash was being computed from the redirect URL path instead. Now, the client follows redirects with a HEAD request to get the final URL before computing the hash, ensuring it matches the linked stream hash.
  • Anime season pack matching: Fixed episode matching for filenames like Berserk - 01[1080 BD X265].ass regex now recognizes [ and ( as valid episode terminators.
  • SubSource API key sanitization: Fixed "Invalid character in header content" errors by sanitizing API keys containing control characters.
  • Rate limit error handling: Fixed OpenSubtitles login 429 errors being misclassified as type: 'unknown'. The parseApiError() utility now preserves original error properties.
  • Locale fixes: Repaired corrupted Arabic strings and synced missing keys (ar/es/pt-br/pt-pt) with English.
  • XSS Defense-in-Depth: Added additional HTML escaping at the source when building hash mismatch alert messages in toolboxPageGenerator.js. While the downstream buildHashStatusContent() function already escapes the entire string, this defense-in-depth approach prevents XSS if future refactoring accidentally removes the later escape.

Auto-subs Improvements:

  • Parallel transcription: Audio windows now transcribe in parallel (up to 4 concurrent requests), reducing an 8-window video from ~2+ minutes to ~30 seconds.
  • Whisper Large V3 Turbo Base64 fix: The Cloudflare API requires Base64-encoded audio in JSON payloads for the Turbo model (not raw binary or array format like the base model).
  • Duration estimation fix for TS streams: Fixed incomplete subtitle coverage where only half the video was transcribed. For TS (transport stream) containers where duration probing fails, the byte-based estimation now uses 0.8 Mbps (down from 2 Mbps), ensuring full coverage for lower-bitrate streams.
  • Graceful window failures: Individual failed audio windows are now skipped instead of failing the entire transcription improves resilience for problematic segments (silence, music, etc.).
  • Model-aware window sizes: Base Whisper model uses 30s windows (its max), Turbo model uses 90s by default with UI slider support up to 25 minutes.
  • VAD filter option: Added "Enable VAD filter" checkbox for Turbo model to remove silence from audio for cleaner transcription. Turbo is now the default model.

Don't miss a new StremioSubMaker release

NewReleases is sending notifications on new releases.