|spk 7c7313951c first upload||3 weeks ago|
|.gitignore||3 weeks ago|
|config.js.example||3 weeks ago|
|index.js||3 weeks ago|
|package-lock.json||3 weeks ago|
|package.json||3 weeks ago|
|readme.md||3 weeks 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.