simple program to rename movie files, info grabbed from omdbapi.com and themoviedb.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spk 7c7313951c first upload 2 months ago
.gitignore first upload 2 months ago
config.js.example first upload 2 months ago
index.js first upload 2 months ago
package-lock.json first upload 2 months ago
package.json first upload 2 months ago
readme.md first upload 2 months ago

readme.md

Install / how to

Very simple rename program.

Clone repository.

Install nodejs from nodejs.org

run npm install inside project folder.

after installing dependencies, go to node_modules/omdb/ and replace index.js with this file: https://git.teknik.io/spk/omdb/raw/branch/master/index.js

the original module creator won’t update it, this is an updated version. // will not work without doing this!

Create folder ‘rename’ within this project folder.

Move movie file into the rename folder, rename it ‘rename’ as well (with extension).

node index.js imdbid // Shawshank Redemption: https://www.imdb.com/title/tt0111161/ ‘tt0111161’ is the id

it will rename the folder ‘Movie (year)’, inside the folder will contain poster.jpg, highest quality available from themoviedb.org, an omdb.txt file with the complete json from omdbapi.com, and will rename the movie file to ‘Movie (year).ext’.

Todo:

regex / file detection instead of having to rename it. input folder location/name instead of hardcoded/renaming it. clean up code and better error handling.