A little bit of shell and ruby goodness to automate ripping audio CDs, DVDs, and Bluray discs via udev.
The benefit of using udev: this runs headless.
- wodim (cdrecord)
- imdb (gem)
- aws-sdk-v1 (gem)
- twilio-ruby (gem)
- An Amazon Web Services account
- A domain name (for setting up SES email notifications)
- A Twilio account (for SMS notifications)
Modify 90-rom-autorip.rules with the name of your CD/DVD/BLURAY-ROM (typically sr0 if you only have one in your system)
Place the modified 90-rom-autorip.rules in /etc/udev/rules.d
Place the autorip and aurorip.rb scripts in /usr/local/bin; be sure to chmod a+x on them
Place the .abcde.conf file in your /root directory; modify config to suit your environment
Sign up for an Amazon Web Services account. Create an IAM user with limited permissions (Simple Email Service only)
In the AWS Console, create an IAM user with limited permissions (Simple Email Service only): note the credentials provided after creation
Register a verified sender email address via the AWS Console under the SES service
Update the autorip wrapper script with the credentials you noted above
Update the autorip.rb script with your email address(es) for notifications: $from_address and $recipients
This configuration closely follows that provided by Pat Hartl. A massive thanks for Pat for providing excellent documentation and the initial inspiration for this endeavor. A few changes were made for Ubuntu 14.04.
Add a Few Repositories
add-apt-repository ppa:stebbins/handbrake-releases add-apt-repository ppa:brightbox/ruby-ng
Install Required Packages
apt-get install -y eyeD3 at cd-discid lame wodim dvdbackup handbrake-gtk \ handbrake-cli build-essential libc6-dev libssl-dev \ libexpat1-dev libavcodec-dev libgl1-mesa-dev mp3enc \ libqt4-dev vim-nox git-core p7zip-full abcde \ xbmc-eventclients-xbmc-send regionset libdiscid0 ruby2.1 ruby2.1-dev
Install dvdcss kit
With the above in place (scripts and Mythbuntu config), you should be all set.