|spk 7c7313951c first upload||2 months ago|
|.gitignore||2 months ago|
|config.js.example||2 months ago|
|index.js||2 months ago|
|package-lock.json||2 months ago|
|package.json||2 months ago|
|readme.md||2 months ago|
Very simple rename program.
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’.
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.