No description
Find a file
2018-07-14 12:26:01 -07:00
build@5f3e72c711 Continuous Integration (#11) 2016-11-23 22:49:40 -08:00
.abcde.conf Added MakeMKV Profile, Plex and Main movie Support (#38) 2017-01-15 07:59:10 -08:00
.gitignore add vscode settings to .gitignore 2018-02-07 21:44:44 -08:00
.gitmodules Continuous Integration (#11) 2016-11-23 22:49:40 -08:00
.travis.yml Clean bash (#16) 2016-11-30 20:57:37 -08:00
51-automedia.rules Fix udev rules blocking udev settle service 2017-11-21 17:18:12 -06:00
arm@.service use systemd (#76) 2017-08-06 21:53:23 -07:00
arm_wrapper.sh modified the at command to be silent 2017-10-12 10:00:28 -04:00
CHANGELOG.md fix version (#19) 2016-12-03 15:35:00 -08:00
config.sample update config typo 2018-05-06 17:50:08 -07:00
CONTRIBUTING.md Create CONTRIBUTING.md 2017-08-06 22:21:01 -07:00
data_rip.sh Move logging logic out of config file (#98) 2017-10-28 10:55:47 -07:00
default.mmcp.xml Added MakeMKV Profile, Plex and Main movie Support (#38) 2017-01-15 07:59:10 -08:00
getmovietitle.py Clean bash (#16) 2016-11-30 20:57:37 -08:00
getvideotype.py Dep omdbapi key, Fixes root cause of issue #57. (#65) 2017-07-28 23:32:29 -07:00
identify.sh Move logging logic out of config file (#98) 2017-10-28 10:55:47 -07:00
ISSUE_TEMPLATE.md Update issue template 2018-07-14 12:21:36 -07:00
LICENSE Add license 2016-07-25 05:56:01 +00:00
notify.sh added email notification options (#95) 2017-10-28 11:04:26 -07:00
README-OMDBAPI.txt Dep omdbapi key (#71) 2017-07-29 00:53:34 -07:00
README.md move repository to org 2018-02-07 20:07:53 -08:00
requirements.txt restore requirements 2017-07-29 00:55:51 -07:00
video_rip.sh Fix another ShellCheck issue 2018-04-26 21:34:14 +02:00
video_transcode.sh Fixes #197 2018-07-14 08:50:11 -07:00

Automatic Ripping Machine (ARM)

Build Status

Overview

Insert an optical disc (Blu-Ray, DVD, CD) and checks to see if it's audio, video (Movie or TV), or data, then rips it.

See: https://b3n.org/automatic-ripping-machine

Features

  • Detects insertion of disc using udev
  • Determines disc type...
    • If video (Blu-Ray or DVD)
      • Retrieve title from disc or Windows Media MetaServices API to name the folder "movie title (year)" so that Plex or Emby can pick it up
      • Determine if video is Movie or TV using OMDb API
      • Rip using MakeMKV (can rip all features or main feature)
      • Eject disc and queue up Handbrake transcoding when done
      • Transcoding jobs are asynchronusly batched from ripping
      • Send notification when done via IFTTT or Pushbullet
    • If audio (CD) - rip using abcde
    • If data (Blu-Ray, DVD, or CD) - make an ISO backup
  • Headless, designed to be run from a server
  • Can rip from multiple-optical drives in parallel

Requirements

  • Ubuntu Server 16.04 (should work with other Linux distros)
  • One or more optical drives to rip Blu-Rays, DVDs, and CDs
  • Lots of drive space (I suggest using a NAS like FreeNAS) to store your movies

Install

If you have a new DVD drive that you haven't used before, some require setting the region before they can play anything. Be aware most DVD players only let you change the region a handful (4 or 5?) of times then lockout any further changes. If your region is already set or you have a region free DVD drive you can skip this step.

sudo apt-get install regionset
sudo regionset /dev/sr0

Install...

sudo apt-get install git
sudo add-apt-repository ppa:heyarje/makemkv-beta
sudo add-apt-repository ppa:stebbins/handbrake-releases
sudo add-apt-repository ppa:mc3man/xerus-media
sudo apt update
sudo apt install makemkv-bin makemkv-oss
sudo apt install handbrake-cli libavcodec-extra
sudo apt install abcde flac imagemagick glyrc cdparanoia
sudo apt install at
sudo apt install python3 python3-pip
sudo apt-get install libdvd-pkg
sudo dpkg-reconfigure libdvd-pkg
sudo su
cd /opt
git clone https://github.com/automatic-ripping-machine/automatic-ripping-machine.git arm
cd arm
pip3 install -r requirements.txt
ln -s /opt/arm/51-automedia.rules /lib/udev/rules.d/
ln -s /opt/arm/.abcde.conf /root/
cp /opt/arm/arm@.service /etc/systemd/system/
cp config.sample config
  • Edit your "config" file to determine what options you'd like to use

  • To rip Blu-Rays after the MakeMKV trial is up you will need to purchase a license key or while MakeMKV is in BETA you can get a free key (which you will need to update from time to time) here: https://www.makemkv.com/forum2/viewtopic.php?f=5&t=1053 and create /root/.MakeMKV/settings.conf with the contents:

      app_Key = "insertlicensekeyhere"
    

Optionally if you want something more stable than master you can download the latest release from the releases page.

Usage

  • Insert disc
  • Wait for disc to eject
  • Repeat

Troubleshooting

Check /opt/arm/log to see if you can find where the script failed. If you need any help feel free to open an issue.

Contributing

Pull requests are welcome

License

MIT License