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
npm i movie-cover
THEMOVIEDB_KEY="YOUR-API-KEY" movie-cover ./movies/Halloween.II.2009.THEATRICAL.Cut.MULTi3.1080p.Bluray.HDLight-Zone80.mkv
import { addCoverToMovieFile } from "movie-cover";
await addCoverToMovieFile(
"./movies/Halloween.II.2009.THEATRICAL.Cut.MULTi3.1080p.Bluray.HDLight-Zone80.mkv",
"YOUR-API-KEY"
);
- [ ] support
.mp4
files (and maybe other formats) - [ ] improve the TUI using terminal-image to ask confirmation before doing the change