Version 7.2 adds CD and DVD Ripping.
CD & DVD Ripping Support
The Mini Pi Media Server can now rip physical discs directly, triggered automatically when a CD or DVD is inserted into the drive. The new disc-handler.sh script is invoked on disc insertion and handles detection, ripping, and handoff to the rest of the pipeline — no manual steps required.
The user is asked if they want to enable this feature during install / upgrade time, then the extra software is installed and the disc-handler.sh is installed along with support for a popup status in the main web page when ripping a CD or a DVD.

Note: this feature requires a Pi 4B or above. Disc ripping (especially DVD/vobcopy) is CPU and I/O intensive, and isn't supported on Pi Zero 2W or earlier boards.
How it works
Disc detection — On insertion, the script probes the drive's filesystem type to determine whether it's an audio CD or a DVD, and routes to the appropriate ripping path.
Audio CDs are ripped using abcde, with CDDB lookups (via gnudb) used to identify artist/album/track metadata automatically. If a disc can't be identified, it's saved into a uniquely timestamped "Unknown Album" folder rather than overwriting any previous unidentified rip.
DVDs are ripped using vobcopy. The script mounts the disc, copies the raw VIDEO_TS structure, identifies the main feature (the title set with the most VOB parts — i.e. not menus or extras), and joins those VOB parts into a single .vob file using cat (not ffmpeg — VOB parts are designed to be concatenated at the byte level per the DVD spec). The disc is ejected as soon as vobcopy finishes, freeing the drive before the (potentially lengthy) VOB join takes place.
Movie title lookup — As a best-effort step, the script tries to identify the actual movie title rather than relying on the disc's volume label. It pulls the main feature's runtime via lsdvd, searches Wikipedia for candidate titles based on a cleaned-up version of the disc label, and matches against each candidate's infobox runtime. If a match is found within an 8-minute tolerance, that title is used; otherwise, the original disc-label-derived name is kept. This lookup never blocks or fails the rip itself — worst case, it just falls back silently.
Handoff to the conversion pipeline
Once a DVD's VOB file lands in the video library, it's picked up automatically by the existing mkv-watcher.sh service, which converts it into a browser-friendly MP4 just like any other inbound MKV file.
Known limitations
CDDB/Wikipedia-based identification is convenience-only, not guaranteed — it's quite weak in practice. For audio CDs, this means track and album metadata may come back incomplete or simply unmatched. For DVDs, if the disc isn't labelled close to the actual movie title, the Wikipedia runtime-matching may not find a confident match either. In both cases, manual renaming of the resulting media file after conversion may be needed to get clean naming/metadata in the library.
NOTE: the pi will not provide enough power to power a USB CD / DVD drive, you WILL need a powered USB hub that then connects to a Raspberry pi in order to use.
So what hardware works ?
I ordered these from Amazon and it does work
USB CD / DVD drive
https://www.amazon.co.uk/dp/B0GLNTCD7T?
Powered USB hub
https://www.amazon.co.uk/dp/B00TPMEOYM?th=1
Some countries have legal issues about backing up your own CD / DVD collection so please check your countries laws first. I accept no legal issues, I just provide the tool.
You can download / upgrade by running the following on the Raspberry Pi (either SSH into the Pi or on the actual Pi) :-
wget -qO- https://raw.githubusercontent.com/diddy-boy/mini-pi-media-server/main/install.sh | bash
diddy
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.