I'm going to try to find the answer to this on my own, but in the mean time I want to know if somebody has already come up with a way to do this.
I want to write a shell script to rip a season of a TV shows that I have on DVD using Handbrake CLI. Also, I want to run each ripped file through a special CLI-based converter (which I already have) so I can watch them on my DS.
The basic format of the shell script would be something like
ripseason.sh %F_%S_%E.mp4 NUM_DVDS NUM_TITLES_PER_DVD
Where %F is replaced with the name of the series, %S is replaced with the season number, and %E is replaced with the number of the episode in the season.
I already know how to use handbrake CLI and have ripped one whole season but it was tedious and involved a lot of manual intervention. I would like to have a single command to rip subsequent seasons of this show (and others) but I don't know hardly anything about shell scripting except the very basics (cp, rm, ls, mv, how to pipe output, how to set environment variables, etc.). This script would have to be able to stop and wait for the user to switch DVDs after each one was ripped and then wait for a keypress or something to continue.
If anyone knows of a script like this or can at least point me to someplace where I can learn how to write one that would be great. Thanks!