Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

deep-titler

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deep-titler

Tool that searches for subtitles for all video files recursively.

latest
Source
npmnpm
Version
0.2.1
Version published
Maintainers
1
Created
Source

Starting from a top level directory, this module indexes all video files and searches for subtitles for all of them - using the subtitler module. Any match is stored alongside the video file as a .srt-file.

If the file already has a matching .srt-file, it will be ignored.

If no matches are found, it will be added to a blacklist. Files on the blacklist will not be checked again unless the --clean flag is supplied. The blacklist only applies for cli, although an ignorelist can be supplied to the api.

Installation

npm install deep-titler

API Usage

var deeptitler = require("deep-titler");

deeptitler.run("./", ["/ignore/this/movie.mp4"]).then(function(result) {
	// result is an object: { ignored: [], blacklisted: [], successful: [] }
});

CLI usage

Install using:

npm install -g deep-titler

Then run:

deep-titler [path] [--clean]

Notes

  • Supports English only (this will change shortly).
  • The opensubtitles API only allows 200 downloads from one client per day. In my experience, this means actual downloads. Merely checking for subtitle existence does not count against the quota.

Keywords

subtitles

FAQs

Package last updated on 20 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts