Code Monkey home page Code Monkey logo

freerip's Introduction

freerip allows you to quickly rip your own DVDs and CDs for personal use. Simply, insert a disc into the drive and it will be ejected once complete.

Usage

1. Insert a CD or DVD into the drive
1. Wait
1. The CD/DVD will be ejected once all the content has been copied.

Building freerip.sh

To make development easier the freerip.sh script is generated by combining files in the src/ directory. To build your own copy of freerip.sh for installation run make to create a directory (dist/) with files needed for installation.

Installation

1. Run ```make``` to gather all files needed for installation into dist/
1. Install devd config and launcher on host, not in the jail

sudo cp freerip.conf /etc/devd/
sudo cp freerip-launcher /usr/local/bin/

1. Restart devd to pickup new config

sudo /etc/rc.d/devd restart

1. Create a new jail called ```freerip```

1. Configure storage to be mounted at ```/mnt/freerip```.  All rips will be saved here.

1. Install freerip.sh into the jail

sudo cp freerip.sh /mnt/jails/freerip/usr/local/bin

1. Install HandbrakeCLI into the jail as per Ryan Baumann's excellent [guide](https://ryanfb.github.io/etc/2016/04/21/installing_handbrake_on_freenas.html)

Debugging

1. disable devd

    sudo /etc/rc.d/devd stop

1. Run devd in debug mode

    sudo devd -D -d

1. Insert a new CD or DVD

freerip's People

Contributors

sibson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

freerip's Issues

Minor adjustment

Thanks a lot for the great Tool sibson!
I got it to work after about 4 hours of head scratching :)
Here is what I had to do additionally to your install guide:

  • Set devfs_ruleset in the Jail Properties to 3 so the cd drive at dev/cd0 was showing inside the jail.
  • Changed the freerip-launcher at the last line from: jexec $JAIL_NUM /usr/local/bin/freerip.sh $* to: jexec -U root $JAIL_NUM sh /usr/local/bin/freerip.sh $*
    I'm not sure if the "-U root" option is necessary but the "sh" for sure to run the script.
  • In rip-video.sh the --preset "High Profile" doesn't exist anymore with the newest version of HandbrakeCLI, I took "HQ 1080p30 Surround" instead.
  • Last but not least, the freerip.conf file gets removed after a restart of Truenas, has to be copied again.

I am running TrueNAS-12.0-STABLE - Release Train for TrueNAS 12.0 [release] at the moment, having an USB DVD Drive from Asus

I just get error 64

I run it, and it sais mkdir -p wich is lacking a dir to make did not work

AutoRip does not start

I have passed the DVD/RW to the jail. I can not get it to start auto ripping when a dvd is inserted. I can run the scrip from inside the /dist folder and it will rip a DVD just fine.

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.