A NodeJS CLI app to download subtitles for every media files in a directory. Subtitles are downloaded from opensubtitles.com.
- The app is looking for every media files and subtitles in directory and subdirectories.
- For every detected media file, the app checks for missing subtitle languages
- The missing subtitle languages are researched on opensubtitles
- The subtitles are downloaded and placed next to the media files
- ffmpeg (or at least ffprobe) must be installed on your system
- OpenSubtitles.com account
- OpenSubtitles.com consumer API key (you can create one here)
npx srt-downloader -a <apiKey> -u <username> -p <password>
Flags | Required | Description | Default |
---|---|---|---|
-a | Yes | OpenSubtitles ApiKey | - |
-u | Yes | OpenSubtitles username | - |
-p | Yes | OpenSubtitles password | - |
-d | No | Media files directory | Current directory |
-l | No | Languages (comma separated) | en |
- Multiple subtitles providers
- Start by searching by media hash and fallback on media name search