Coder Social home page Coder Social logo

mediatidy's Introduction

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

mediatidy's People

Contributors

danb235 avatar jinjorge avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.