🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

episoder

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

episoder

Application for renaming downloaded tv show files

latest
npmnpm
Version
1.1.1
Version published
Weekly downloads
21
162.5%
Maintainers
1
Weekly downloads
 
Created
Source

Episoder

A node.js commandline utility for renaming the files of downloaded TV shows.

Parses filenames of video files for relevent information and queries the Trakt API to find episode title to construct the new filename and renames.

Installation

You're going to need node.js for this. If you don't have that, Google how to install that on your operating system and come back when you're done.

$ npm install --global episoder

This may need to be run as sudo.

Usage

$ episoder community-s01e04.mp4

Will rename the file to Community - S01E04 - Social Psychology.mp4

It tries to be clever and only rename video files.

Currently it will move files from inside a directory to where you have run the command.

Show/Episode/Season flags

There are useful --show, --episode, and --season flags, which can be useful if there is not enough information in the filename to work out what it is:

$ episoder --show "Parks and Recreation" --season 1 --episode 4  untitled.mp4

Will rename to Parks and Recreation - S01E04 - Boys Club.avi.

Other Flags

There are a few other features that might be useful.

$ episoder --help
Options:
  --show, -S          Provide show name                                 [string]
  --season, -s        Provide season number                             [number]
  --episode, -e       Provide episode number                            [number]
  --colour            Colour logging                   [boolean] [default: true]
  --verbose, -v       Verbose logging                                  [boolean]
  --quiet             Only log errors                                  [boolean]
  --silent            No logging                                       [boolean]
  --force, -f         Overwrite existing files                         [boolean]
  --recursive, -r     Name files in directory recursively              [boolean]
  --interactive, -i   Prompt for file change                           [boolean]
  --backup            Create backup of file                            [boolean]
  --error-on-missing  Fail if any source file missing                  [boolean]
  --version, -V       Show version number                              [boolean]
  --help, -h          Show help                                        [boolean]

FAQs

Package last updated on 27 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts