movie-cover
v1.1.0
Published
Add covers to movies files.
Downloads
20
Maintainers
Readme
Movie cover
Add covers to movies files:
- Parse the scene / p2p release name from the filename
- search the movie on themoviedb.org
- 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