Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
02-21-2004, 10:17 PM
|
#1
|
LQ Newbie
Registered: Feb 2004
Location: PA
Distribution: RH 7.2
Posts: 1
Rep:
|
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 
|
|
|
02-21-2004, 10:57 PM
|
#2
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
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.
|
|
|
06-08-2009, 06:24 AM
|
#3
|
LQ Newbie
Registered: Jun 2009
Posts: 11
Rep:
|
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.
VortexBox Use Ripit to do the batch ripping, and I am trying to set this up. This is where problem 2 comes in.
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
[ 7.481941] Buffer I/O error on device sr0, logical block 1
[ 7.481998] Buffer I/O error on device sr0, logical block 2
[ 7.482054] Buffer I/O error on device sr0, logical block 3
[ 7.484991] end_request: I/O error, dev sr0, sector 0
[ 7.485059] Buffer I/O error on device sr0, logical block 0
No I have read through many forums and questioned our good friend Google and it does not look to good. I have swapped out three different ROM drives. As the server install is a breeze its not hard to reinstall, done that with 9.04 and problem came back. Then went back to 8.04 and problem persisted, hoping the older kernel will fix it.
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
|
|
|
06-09-2009, 02:35 AM
|
#4
|
LQ Newbie
Registered: Jun 2009
Posts: 11
Rep:
|
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]
|
|
|
06-09-2009, 08:34 AM
|
#5
|
Member
Registered: Aug 2007
Posts: 73
Rep:
|
write a script.
|
|
|
06-09-2009, 11:08 PM
|
#6
|
LQ Newbie
Registered: Jun 2009
Posts: 11
Rep:
|
How would a script help?
|
|
|
06-11-2009, 06:26 AM
|
#7
|
Member
Registered: Aug 2007
Posts: 73
Rep:
|
a script helps you do things automatically.
|
|
|
06-11-2009, 02:40 PM
|
#8
|
LQ Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
|
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.
|
|
|
06-12-2009, 02:56 AM
|
#9
|
Member
Registered: Aug 2007
Posts: 73
Rep:
|
and then use cdrdao or .... to get disc's info, rename mp3 files. COOL!
|
|
|
06-12-2009, 08:00 AM
|
#10
|
LQ Newbie
Registered: Jun 2009
Posts: 11
Rep:
|
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...
|
|
|
06-12-2009, 08:11 AM
|
#11
|
LQ Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
|
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.
|
|
|
06-13-2009, 12:27 AM
|
#12
|
LQ Newbie
Registered: Jun 2009
Posts: 11
Rep:
|
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...
|
|
|
06-13-2009, 03:25 AM
|
#13
|
LQ Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
|
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.
|
|
|
06-14-2009, 12:48 AM
|
#14
|
LQ Newbie
Registered: Jun 2009
Posts: 11
Rep:
|
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....
|
|
|
06-17-2009, 04:56 PM
|
#15
|
LQ Newbie
Registered: Jun 2009
Location: Ireland
Distribution: Ubuntu Server
Posts: 3
Rep:
|
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 09:09 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|