LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 02-21-2004, 10:17 PM   #1
mrock2
LQ Newbie
 
Registered: Feb 2004
Location: PA
Distribution: RH 7.2
Posts: 1

Rep: Reputation: 0
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
 
Old 02-21-2004, 10:57 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 261Reputation: 261Reputation: 261
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.
 
Old 06-08-2009, 06:24 AM   #3
blueteq
LQ Newbie
 
Registered: Jun 2009
Posts: 11

Rep: Reputation: 0
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
 
Old 06-09-2009, 02:35 AM   #4
blueteq
LQ Newbie
 
Registered: Jun 2009
Posts: 11

Rep: Reputation: 0
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]
 
Old 06-09-2009, 08:34 AM   #5
ozminh
Member
 
Registered: Aug 2007
Posts: 73

Rep: Reputation: 19
write a script.
 
Old 06-09-2009, 11:08 PM   #6
blueteq
LQ Newbie
 
Registered: Jun 2009
Posts: 11

Rep: Reputation: 0
How would a script help?
 
Old 06-11-2009, 06:26 AM   #7
ozminh
Member
 
Registered: Aug 2007
Posts: 73

Rep: Reputation: 19
a script helps you do things automatically.
 
Old 06-11-2009, 02:40 PM   #8
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292
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.
 
Old 06-12-2009, 02:56 AM   #9
ozminh
Member
 
Registered: Aug 2007
Posts: 73

Rep: Reputation: 19
and then use cdrdao or .... to get disc's info, rename mp3 files. COOL!
 
Old 06-12-2009, 08:00 AM   #10
blueteq
LQ Newbie
 
Registered: Jun 2009
Posts: 11

Rep: Reputation: 0
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...
 
Old 06-12-2009, 08:11 AM   #11
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292
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.
 
Old 06-13-2009, 12:27 AM   #12
blueteq
LQ Newbie
 
Registered: Jun 2009
Posts: 11

Rep: Reputation: 0
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...
 
Old 06-13-2009, 03:25 AM   #13
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292
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.
 
Old 06-14-2009, 12:48 AM   #14
blueteq
LQ Newbie
 
Registered: Jun 2009
Posts: 11

Rep: Reputation: 0
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....
 
Old 06-17-2009, 04:56 PM   #15
sudocode
LQ Newbie
 
Registered: Jun 2009
Location: Ireland
Distribution: Ubuntu Server
Posts: 3

Rep: Reputation: 1
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grip Won't Rip + Encode dingledoink Linux - Software 7 09-25-2005 09:01 PM
Rip and encode cd Linuxkundi Mandriva 3 05-10-2005 06:49 AM
Christmas rip and encode nut Thulemanden Libranet 1 12-27-2003 12:35 AM
Can't rip DVDs with dvd::rip Hammett Linux - Software 2 10-27-2003 08:35 AM
command line cd rip and encode Scruff Linux - General 6 10-01-2003 11:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration