Arabic Auto-Sync Subtitles v2.0
Overview
Automatic Arabic subtitle synchronization for Stremio. Fetches Arabic subtitles from three sources simultaneously and auto-syncs them using a trusted English reference.
Key Features
- Triple Source Aggregation: OpenSubtitles v3, SubDL, SubSource — all fetched in parallel
- Auto-Sync Engine: Pure JavaScript reference-based alignment (no external tools needed)
- Smart Caching: 6-hour cache for synced results — instant on repeat requests
- Arabic Text Normalization: Removes diacritics, fixes encoding issues (Windows-1256, UTF-8)
- Anti-Timeout Strategy: Returns placeholder while processing in background
- Labeled Subtitles: Each subtitle shows its source e.g. [Synced] SubDL - Arabic
How to Install
- Open Stremio
- Go to Add-ons -> Install from URL
- Paste: https://7000-i5qiinvaxas86mhpc6fn7-1ee50674.sg1.manus.computer/manifest.json
How It Works
- You select a movie or TV show in Stremio
- The addon fetches Arabic subtitles from OpenSubtitles, SubDL, and SubSource simultaneously
- It also fetches the top English subtitle as a timing reference
- Using linear regression alignment, it syncs the Arabic subtitle to match the English timing
- Results are cached for 6 hours for instant future requests
Subtitle Labels
- [Synced] OpenSubtitles - Arabic
- [Synced] SubDL - Arabic
- [Synced] SubSource - Arabic
Technical Stack
- Node.js + stremio-addon-sdk
- Pure JavaScript sync engine (linear regression + median offset)
- node-cache for in-memory caching
- iconv-lite for Arabic encoding support
