A modern VLC extension for downloading subtitles from OpenSubtitles.com using their latest REST API.
Note: This extension is specifically for OpenSubtitles.com (not .org) and uses their modern REST API with enhanced features and better performance.
- π Smart Search: Hash-based search for exact matches + name-based search with GuessIt integration
- π Multi-language Support: Select up to 3 preferred subtitle languages with intelligent prioritization
- π― Auto-detection: Automatic locale detection from system settings, timezone, and IP geolocation
- π± Modern API: Uses OpenSubtitles.com REST API v1 for better performance and reliability
- π Auto-updates: Built-in update mechanism keeps the extension current
- π¬ Smart Metadata: GuessIt API integration for accurate movie/TV show detection
- π Quality Indicators: Shows trusted uploaders, download counts, sync quality, and ratings
- πΎ Flexible Download: Auto-load subtitles or save manually with language codes
- π Country-specific Languages: Intelligent language suggestions based on your location
| Feature | Legacy vlsub (.org) | VLSub OpenSubtitles.com |
|---|---|---|
| API | XML-RPC (legacy) | REST API v1 (modern) |
| Authentication | Optional | Required (free account) |
| Language Selection | Single language | Up to 3 languages with priority |
| Search Methods | Basic hash/name | Hash + Name + GuessIt fallback |
| Auto-updates | None | Built-in update system |
| Locale Detection | Simple | Advanced system detection |
| Quality Indicators | Basic | Detailed (trusted, HD, sync, etc.) |
| Performance | Slower XML parsing | Fast JSON API |
| Metadata | Manual input | Smart GuessIt extraction |
macOS/Linux:
curl -sSL https://raw.githubusercontent.com/opensubtitles/vlsub-opensubtitles-com/main/scripts/install.sh | bashWindows (PowerShell):
Press Windows + R β type powershell β Enter, then run:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser; iwr -useb https://raw.githubusercontent.com/opensubtitles/vlsub-opensubtitles-com/main/scripts/install.ps1 | iexWith paru:
paru -S vlsub-opensubtitles-com-gitWith yay:
yay -S vlsub-opensubtitles-com-git- Download the latest
vlsubcom.luafrom Releases - Copy to your VLC extensions directory:
- Windows:
%APPDATA%\vlc\lua\extensions\ - macOS:
~/Library/Application Support/org.videolan.vlc/lua/extensions/ - Linux:
~/.local/share/vlc/lua/extensions/
- Windows:
- Restart VLC Media Player
- Access the extension:
- Windows/Linux:
View β VLSub OpenSubtitles.com - macOS:
VLC β Extensions β VLSub OpenSubtitles.com(macOS puts Lua extensions under the VLC menu, not View)
- Windows/Linux:
- VLC Media Player 3.0 or newer
- OpenSubtitles.com account (free registration)
- Internet connection for searching and downloading
- curl command-line tool (for downloads - usually pre-installed)
- Setup: Open the extension (
View β VLSub OpenSubtitles.comon Windows/Linux,VLC β Extensions β VLSub OpenSubtitles.comon macOS) β Config - Login: Enter your OpenSubtitles.com username and password
- Play: Start your video file
- Search: Click "π― Search by Hash" for exact matches or "π Search by Name"
- Download: Click download and load automatically
- Best for: Local video files
- Accuracy: Finds exactly synchronized subtitles
- How it works: Calculates unique file fingerprint for perfect matching, failback to Name Search
- Best for: Streaming content, renamed files, or when hash fails
- Features: Uses GuessIt to extract title, year, season, episode from filename
- Flexibility: Works with various naming conventions
- Primary Language: Your main subtitle preference
- Secondary + Third: Fallback languages shown in priority order
- Auto-detection: Extension detects your locale and suggests appropriate languages
- Country-specific: Suggests languages commonly understood in your region
- π― Perfect match (moviehash sync)
- β Trusted uploader
- π¬ HD quality
- βΏ Hearing impaired
- π€ AI translated
- βοΈ Machine translated
| Main Interface | Configuration | Search Results |
|---|---|---|
![]() |
![]() |
![]() |
- Download Behavior: Load+Save or Manual download
- Language Codes: Add language codes to filenames (e.g.,
movie.en.srt) - Tag Removal: Clean subtitle formatting tags
- Working Directory: Custom location for subtitle storage
- Auto-updates: Enable/disable automatic update checks
The extension supports 100+ languages including:
- Major Languages: English, Spanish, French, German, Italian, Portuguese, Russian, Chinese, Japanese, Korean
- Regional Variants: Brazilian Portuguese, Latin Spanish, Simplified/Traditional Chinese
- European Languages: All EU languages plus Nordic, Slavic, and Baltic languages
- Global Languages: Arabic, Hindi, Hebrew, Persian, Thai, Vietnamese, and many more
Full list available in the language documentation.
"No results found"
- Ensure video file is local for hash search
- Try name search with manual title entry
- Check if subtitle exists on OpenSubtitles.com
"Authentication failed"
- Verify OpenSubtitles.com credentials
- Check internet connection
- Ensure account is active (not banned)
"Download failed"
- Check download quota (free accounts have daily limits)
- Verify curl is installed:
curl --version - Try again later if server is busy
Extension not visible
- Restart VLC completely
- Check file is in correct extensions directory
- Verify VLC version 3.0+
"Incompatible dkjson version" (Ubuntu / Debian)
Ubuntu and Debian ship VLC with an old bundled dkjson.luac that cannot parse floats. Upgrading VLC does not fix it β the broken file is part of the distro package (see #23).
Fix:
- Download the latest
dkjson.luafrom dkolf.de/dkjson-lua. - Locate VLC's Lua modules directory β typically
/usr/lib/x86_64-linux-gnu/vlc/lua/modules/(Ubuntu/Debian) or/usr/lib/vlc/lua/modules/. - Back up the existing file:
sudo cp dkjson.luac dkjson.luac.bak - Replace it with the downloaded file (renamed to
dkjson.luac):sudo cp ~/Downloads/dkjson.lua /usr/lib/x86_64-linux-gnu/vlc/lua/modules/dkjson.luac - Restart VLC.
Enable debug logging in VLC:
Tools β Preferences β Show settings: All β Advanced β Logger verbosity: 2 (Debug)
We welcome contributions! Please see our Contributing Guide for details.
git clone https://github.com/opensubtitles/vlsub-opensubtitles-com.git
cd vlsub-opensubtitles-com
# Edit vlsubcom.lua
# Test in VLC- π Bug Reports
- π‘ Feature Requests
- π¬ Discussions
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
- OpenSubtitles.com for providing the subtitle database and API
- VideoLAN Team for VLC Media Player
- Original vlsub authors for inspiration
- GuessIt project for metadata extraction
- Community contributors for testing and feedback
- β Star this repository to show your support
- π Report bugs to help improve the extension
- π‘ Suggest features for future releases
- π Share with other VLC users
- β Support OpenSubtitles.com with a donation
- π Documentation: docs/
- π FAQ: docs/faq.md
- π¬ Community: GitHub Discussions
- π§ OpenSubtitles Support: Contact


