- Put your info into the
input.json
file in the 'input' folder - Include quotes around the string you put in
imdbId
:
- The show's IMDB title ID
- Found in the URL imdb.com/title/tt0417299
- Example:
"tt0417299"
fileDirectory
:
- The file directory where your videos are kept
- Example:
"D:/TV Shows/Person of Interest (2011)/season1/"
- It should fix it automatically if the directory address is wrong, but try to put it in the format above
{ "imdbId": "tt0111161", "fileDirectory": "D:/TV Shows/Person of Interest (2011)/season1/" }
- Scrape data manually using a Chrome extension
- Add episode data to /input/episodes.csv
- Add show data to /input/show-info.csv
- Open in VS Code or another IDE
- Run
npm i
to download the packages
- Scrape data using Chrome extension
- Paste episode data into /input/episodes.csv
- Paste show data into /input/show-info.csv
- Run
npm run convert
to convert episode data - Run
npm run convert2
to convert show data
- Run
npm run prep
to get the videos' metadata in your directory listed in the /input/input.json file - It will compare the scraped IMDB data and match them up
- Double-check the info is correct before proceeding
- Run
npm run rename
- Check the
results/failedVideos.json
file to see which videos failed - You may have to manually fix these (using iTunes or another program)
- S06E01.mkv
- Stargate.SG-1.S07E01.720p.BluRay.x264-BORDURE.mkv
- Run
npm run scrape
to scrape IMDB and get the show's info saved - Double-check the info is correct before proceeding
- Run
npm run change
to change your video metadata - Double-check there are no errors
- Delete the old video files