add-movie-cover

Add covers to movies files

Downloads
21
Stars
0
Committers
1

Movie cover

Add covers to movies files:

  1. Parse the scene / p2p release name from the filename
  2. search the movie on themoviedb.org
  3. Use ffmpeg to add a cover to the file

Install

npm i movie-cover

Usage

CLI

THEMOVIEDB_KEY="YOUR-API-KEY" movie-cover ./movies/Halloween.II.2009.THEATRICAL.Cut.MULTi3.1080p.Bluray.HDLight-Zone80.mkv

Lib

import { addCoverToMovieFile } from "movie-cover";

await addCoverToMovieFile(
  "./movies/Halloween.II.2009.THEATRICAL.Cut.MULTi3.1080p.Bluray.HDLight-Zone80.mkv",
  "YOUR-API-KEY"
);

Todo

  • support .mp4 files (and maybe other formats)
  • improve the TUI using terminal-image to ask confirmation before doing the change
Package Rankings
Top 39.8% on Npmjs.org
Badges
Extracted from project README
npm version
Related Projects