Watches BD/DVD drives for movies, checks IMDb for proper title and saves to specified location. Uses HandBrake to compress.
Python Shell
Switch branches/tags
Pull request Compare This branch is 9 commits ahead, 458 commits behind JasonMillward:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
setup
src
.gitignore
README.md
settings.blank.cfg

README.md

MakeMKV and HandBrake Automater

githalytics.com alpha

This script uses MakeMKV to watch for DVDs or BDs that you own, grab the correct title from IMDb and rip it into your chosen movie directory and use HandBrake to compress the video. All automagically.

Important: Updating to v1.3 will result in a loss of queue. Only update once your queue is empty.


Prerequisites

Python

  • Created using 2.7.3 but should work with similar versions

MakeMKV

IMDbPy

  • http://imdbpy.sourceforge.net/
    • At the time of writing, IMDbPy does not parse IMDb correctly because IMDb changed their HTML structure
    • sudo apt-get install python-imdbpy

tendo

  • pip install tendo

Handbrake - For converting and compressing

  • http://handbrake.fr/
    • sudo add-apt-repository ppa:stebbins/handbrake-releases
    • sudo apt-get update && sudo apt-get install handbrake-cli

Prowlpy - For ProwlApp.com Notificaions to your iOS Device

Installation

  1. Install the above prerequisites manually or if you're using Ubuntu (and possibly other Debian based distros) a nice setup script has been included in the setup folder.

    • Originally created by mechevar but modified by me for easy install of all the required components.
  2. Clone this repo into a directory of your chosing

    • git clone https://github.com/JasonMillward/makeMKV-Autoripper.git
  3. Check out a tagged stable release

    • To find available tags: git tag -l
    • eg: git checkout v1.3
  4. Copy settings.blank.cfg to settings.cfg

  5. Edit settings.cfg

    • You should only need to edit save_path unless you really want to play with the settings
    • Add a ProwlApp.com API key if desired.

Running

  1. Insert a DVD

  2. Test script

    1. python ~/makeMKV-Autoripper/src/rip.py
    2. python ~/makeMKV-Autoripper/src/compress.py
  3. Upon successful testing, set up a crontab and insert a new DVD

    • */5 * * * * python ~/makeMKV-Autoripper/src/rip.py
    • 0 * * * * python ~/makeMKV-Autoripper/src/compress.py
  4. Procceed with whatever else you wanted to do today while casually changing discs

NB: If you have any issues with the script, head over to the issues page, create a new issue with some information and hopefully a copy/paste of the error received.