https://github.com/webcooltz/bulk-rename
Helps users to bulk rename files and auto-complete metadata
https://github.com/webcooltz/bulk-rename
bulk-operation metadata nodejs rename
Last synced: 3 months ago
JSON representation
Helps users to bulk rename files and auto-complete metadata
- Host: GitHub
- URL: https://github.com/webcooltz/bulk-rename
- Owner: webcooltz
- Created: 2023-05-21T05:07:11.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-01-08T15:52:19.000Z (over 2 years ago)
- Last Synced: 2025-03-28T23:22:04.893Z (over 1 year ago)
- Topics: bulk-operation, metadata, nodejs, rename
- Language: JavaScript
- Homepage:
- Size: 1020 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bulk-rename instructions
## Table of Contents
- [Input](#input)
- [Running the app](#running-the-app)
## Input
- 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](https://www.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
### File example
`{
"imdbId": "tt0111161",
"fileDirectory": "D:/TV Shows/Person of Interest (2011)/season1/"
}`
## New Input ?
- Scrape data manually using a Chrome extension
- Add episode data to /input/episodes.csv
- Add show data to /input/show-info.csv
## Running-the-app
- Open in VS Code or another IDE
### Download packages
- Run `npm i` to download the packages
#### Pre-scraped data
- 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
### Getting current video metadata
- 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
### Renaming videos
- Run `npm run rename`
#### If a video failed
- Check the `results/failedVideos.json` file to see which videos failed
- You may have to manually fix these (using iTunes or another program)
### Acceptable scenarios
- S06E01.mkv
#### Not working
- Stargate.SG-1.S07E01.720p.BluRay.x264-BORDURE.mkv
## Deprecated
### Scraping episode/show data
- Run `npm run scrape` to scrape IMDB and get the show's info saved
- Double-check the info is correct before proceeding
### Changing video file metadata
- Run `npm run change` to change your video metadata
- Double-check there are no errors
- Delete the old video files