Putting it all together - auto CD rip and encode
I have my RH 7.2 Linux machine setup as a file server on my home network. The idea is to dump all of my CDs to MP3s and allow access from any computer. Now, I am at the point where I want to create the MP3s.
I got grip and I know I can encode, but it requires too much interaction. This is what I would like: Without keyboard (or mouse) interaction, I pop a CD in, it gets the CDDB info downloaded, the CD gets ripped and encoded. And the CD is ejected when complete. I would then load the next CD and the process would continue. Any ideas, scripts or perl files that will do this kind of function:Pengy: |
There's an auto-rip option in the settings, other than that its usually just a simple push of the 'rip and encode' button when you first insert the cd and it loads the cd info.
|
All in One Solution
This was a long time ago, did anyone manage to get this going?
I busy building a Open Source RipNAS, something I can Rip music to from my CD to stream over DLNA. I have everything working except for two things. 1. Automated ripping process and described in the first post. (Pop in CD, Gets track names from freedb.org) Optional encode to FLAC. I played with VortexBox which works extremely well, just to many things install I will never use. I went for Ubuntu Server (9.04), very light weight install. Default with only SSH installed.2. I can install any distro burnt from an ISO and it installs 100%, seemed to work fine for a while. Then I installed Ripit and now I get these errors in dmesg and the CDROM fails to mount: Code:
[ 7.481876] Buffer I/O error on device sr0, logical block 0 I have tried three different IDE cables, I have tried IDE0 and IDE1 I have cleared the CMOS. Also tried playing with the Jumpers. Tried adding ide_generic_all as a boot parameter. You name it. It's a VIA Mini-ITX Board, works perfectly fine when I had WindowsXP and Windows 7 installed. I am not a guru, that should be clear by now, Some help would be appreciated. Thanks |
I figured it out, after a lot of reading and not understanding clearly I am able to use ripit now.
Audio CD's does not get mounted, they run in some Virtual File system, that's why I got those error messages in dmesg and at startup. The system don't know how to read the VFS only a app like a CD Player or Ripit knows.... Well it works now... [SOLVED] |
write a script.
|
How would a script help?
|
a script helps you do things automatically.
|
Indeed a script would solve this quite easily, something like: Use cdparanoia to rip CD, use lame to re-encode, and if it succeeds then delete the wavs and prompt user to insert another CD.
|
and then use cdrdao or .... to get disc's info, rename mp3 files. COOL!
|
That sounds good, RipIt is a script as such. But I can see where you guys are coming from.
I will investigate that option further, for the time being everything seem to work well except for the CD ROM closing upon completion then re-ripping everything again... |
Well, if you want, we could help with the script, but you need to say exactly what you want it to do. I mean, should it create directories for each disk, should it delete wavs after it encodes, what encode options, etc.
|
I bought a HiFi that streams lossless music, the idea I had was to build this box that can sit with the sound system and when I buy a new CD I want to get it ripped into the highest possible quality. There is a company selling boxes that do this called RipNAS @ $1300. I had a Mini-ITX board here that's doing nothing and thought this would be a good way to utilize it.
I don't mind getting rid of the WAV's as I will have the CD to keep. So I guess this is how it will go: Insert CD >> Rips into WAV >> encode into FLAC >> Delete WAV Twonky will then rescan directories to add to the library. A wish list item would be cover art, manual process is the only thing I could find... |
The main problem is cddb info, cdparanoia will simply rip things to tracks in the order they are in on the CD, you'd need a cddb database to be able to know what the names of the tracks are, or you could rename them manually. Maybe you could use 'cdrdao' with the http://www.freedb.org/ cddb server ? Never tried it.
|
H_TeXMeX_H, you are 100% correct, cdparanoia don't get the track names.
That's why I went to RipIt, without any interaction I it gets the best fit track names from freedb.org and encode them with the correct tags. RipIt works perfectly fine, it's only the one issue I have when the disk is completed (Ripped and encoded) it ejects, which is good. But not for more than 5 sec and then it closes. Because it rips whenever a CD is inserted it basically keeps ripping the same disk over and over again. Already received a response from the Developer and have to upgrade to the latest version and try again.... |
Another option is to use abcde, which is a script and a great a frontend to cdparanoia. It takes care of cddb lookup, tags, renames and encodes tracks to your choice of output format. The classic guide to abcde is at Andrew's Corner.
I use abcde to rip and ivman to trigger it when a CD is inserted on my headless server. More details on that setup here. |
All times are GMT -5. The time now is 01:47 AM. |