mediatidy

0.5.0 • Public • Published

mediatidy

For anyone with a large media collection (movies and tv shows) who craves file organization, mediatidy is a project that helps you keep your content... tidy.

This project is early in dev and a WIP. Please file issues!

About

Point mediatidy at your movie or TV show directory and it will do the following (any file deletion requires your approval):

  • Delete all non-video type files.
  • Delete all corrupt/incomplete video files.
  • Delete all sample files.
  • Process files to find dupes; keep the highest quality of the dupes and delete the rest.
  • Delete directories that are empty
  • Delete directories that match keywords saved by user

Coming soon:

  • Delete files under a specified size.
  • Media files view.
  • Ability to rename files.

File Naming Assumptions

For dupe detection to work best your files should be properly named. mediatidy works best with the following conventions:

Movies should have title followed by year:

  • Movie Title (1974).mkv
  • Movie Title - 1974.mkv
  • Movie Title 1974.mkv

TV shows should be have show name, followed by formatted season/episode, then episode name:

  • Show Name - S02E03 - Ep Name.mkv
  • Show Name - S02E03e01 - Ep Name.mkv
  • Show Name - 02x03 - Ep Name.mkv
  • Show Name - 2014.03.07 - Ep Name.mkv

Without proper file naming conventions duplicate matching can be unreliable. You do want to be tidy right?

Setup

Dependencies

NodeJS and ffmpeg are required to run mediatidy. Find the installers and install the latest versions; if using Mac OSX consider installing homebrew and easily install what you need with the following:

$ brew install node
$ brew install ffmpeg

Install

Be sure all dependencies are install before installing mediatidy.

$ sudo npm install -g mediatidy

Uninstall

$ sudo npm uninstall -g mediatidy
$ rm -rf ~/.mediatidy

Usage

See mediatidy help for a full list of commands.

$ mediatidy --help

Basics

Add media folder to mediatidy you would like to process with:

$ mediatidy add-paths

Let's tidy up those media files!

$ mediatidy clean

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.100.1.0
0.5.01latest
0.1.100.1.1

Version History

VersionDownloads (Last 7 Days)Published
0.5.01
0.4.10
0.4.00
0.3.30
0.3.20
0.3.10
0.3.00
0.2.60
0.2.50
0.2.40
0.2.30
0.2.20
0.2.10
0.2.00
0.1.30
0.1.21
0.1.10
0.0.10

Package Sidebar

Install

npm i mediatidy

Weekly Downloads

2

Version

0.5.0

License

none

Last publish

Collaborators

  • tkdan235