Skip to main content

Command line script that automatically searches for video subtitles using OpenSubtitles.org APIs.

Project description

# Subtitle Searcher - SS #

Command line script for searching video subtitles using [OpenSubtitles.org](http://www.opensubtitles.org ) APIs.

![OpenSubtitles.org](http://static.opensubtitles.org/gfx/logo-transparent.png)

[![py_versions](https://pypip.in/py_versions/ss/badge.png)](https://pypi.python.org/pypi/ss/) [![version](http://img.shields.io/pypi/v/ss.svg)](https://pypi.python.org/pypi/ss/) [![downloads](http://img.shields.io/pypi/dm/ss.svg)](https://pypi.python.org/pypi/ss/) [![ci](http://img.shields.io/travis/nicoddemus/ss.svg)](https://travis-ci.org/nicoddemus/ss) [![coverage](http://img.shields.io/coveralls/nicoddemus/ss.svg)](https://coveralls.io/r/nicoddemus/ss)

## Features ##

  • Recursive search: Search subtitles for all videos inside a directory (and sub-directories), making it easy to download subtitles for TV shows packs.

  • Multiple languages: Search for more than one subtitle languages at the same time.

  • MKV embedding: Can automatically create an MKV file with embedded subtitles, which is easier to carry around. Requires [mkvmerge](http://www.bunkus.org/videotools/mkvtoolnix).

## Install ##

Install using [pip](http://www.pip-installer.org):

`bash pip install ss `

## Requirements ##

## Usage ##

Pass the name of one or more video files or directories:

![screenshot](https://raw.githubusercontent.com/nicoddemus/ss/master/images/screenshot.png)

It will try to find the best match online, and automatically download and move the subtitles to the same folder as the video files.

### Configuration ###

Configuration is stored in ~/.ss.ini (or C:Users<user>.ss.ini on Windows) as a standard ini file:

`ini [ss] languages=eng, pob recursive=yes skip=yes mkv=no `

The following options are available:

  • languages: 3 letter codes with the languages to search subtitles for, separated by commas. For a full list of available languages, see http://www.opensubtitles.org/addons/export_languages.php.

  • recursive: if directories should be recursively searched for movies (yes|no).

  • skip: if movies that already have subtitles should be skipped (yes|no).

  • mkv: if yes, it will automatically create a [mkv](http://www.matroska.org/) file with embedded video and subtitles. Utility [mkvmerge](http://www.bunkus.org/videotools/mkvtoolnix) must be available in the $PATH environment variable (yes|no).

  • parallel_jobs: number of concurrent threads used to download subtitles and create mkv files. Defaults to 8.

## Support ##

If you find any issues, please report it in the [issues page](https://github.com/nicoddemus/ss/issues).

## Changelog ##

See the [releases page](https://github.com/nicoddemus/ss/releases).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ss-1.6.0.zip (21.8 kB view details)

Uploaded Source

Built Distribution

ss-1.6.0-py2.py3-none-any.whl (39.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file ss-1.6.0.zip.

File metadata

  • Download URL: ss-1.6.0.zip
  • Upload date:
  • Size: 21.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ss-1.6.0.zip
Algorithm Hash digest
SHA256 53e6a5121ea35bb7dd9ae6a1f1ae26e3d532133406a2e9d1f9bbecf6e66c65ae
MD5 23227d37f3f57d4b5c757310f57605e6
BLAKE2b-256 ccac672e9b0287d97d382847b0f2668857b4677991d7b01d244049e78737a2f1

See more details on using hashes here.

File details

Details for the file ss-1.6.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for ss-1.6.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1394d4d39733346bfcdbd8460cfcc3a425223e3f8fbc0ebf474b611995f18418
MD5 a2f3ceaac67c6ce2fbfa1af07c4bc683
BLAKE2b-256 83106495ae967813d357e43bc68cbe874ee29653e9497e07840beefba4d2d565

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page