Page 1 of 4

Pcdripper-3.9.4

Posted: Sun 02 Dec 2007, 23:23
by plinej
I've pretty much re-written PBcdripper and this is what I came up with. I've piped cdparanoia's stdout to the encoders (lame, flac, oggenc, shorten). This way there will be no temp storage of wav files and the encoding will be done while the ripping is done. I also added cddb_query auto tagging support. This will automatically tag your files if you're connected to the internet and the database matches your cd. I also have my tagger in place too, just incase the auto tagging doesn't work with your cd. The pet package will install the pcdripper script to /usr/sbin/. The help file will be at /usr/share/doc/pcdripper.htm.

#script depends on:
#1 cd ripping program (cdparanoia, cdda2wav, icedax)
#gtkdialog 0.7.20 or greater
#a terminal (preferably rxvt)
#cddb_query (optional) (cddb database support for automatically tagging files)
#lame (optional) (support for .mp3 files)
#flac (optional) (support for .flac files)
#metaflac (optional) (support for tagging .flac files)
#shorten (optional) (doesn't allow meta tagging) (support for .shn files) - actually shn does work with apetag but not sure if I'll implement that. Does anyone actually encode to shn anymore?
#faac (optional) (support for .aac, .m4a, & .mp4 files)
#mac (optional) (support for lossless Monkey's audio .ape files)
#mppenc (optional) (support for musepack .mpc & mpeg plus .mpp files)
#apetag (optional) (support for tagging .ape, .mpc, & .mpp files)
#cddetect (optional) (a cli program that will find number of audio tracks on a disc)
#cd-info (optional) (a cli program that will find number of audio tracks on a disc)
#id3tag (optional) (support for id3v1 tags)
#mp3info (optional) (support for id3v1 tags)

3.8 - fixed some bugs, lucid puppy 525 & 528 need the attached libcddb-1.3.2-i686 pet to fix cddb_query which appears to be broken in these releases of puppy. cddb_query is possibly broken in other versions of Puppy as well. Try running cddb_query from the command line to see if it runs in the version of Puppy you're using.

3.8.2 - added minimal support for cd-text (with the cd-info binary) when using the manual tagging feature. In my quick test of one cd it works for Trackname, Artist, & Album fields. I also added a "quit" button on the last screen before the actual ripping begins. This is now i18n'd with mo files for de, en, es, & ru. If anyone wants to contribute others I'll add them to the package.

3.8.3 - added "fr" translation and got rid of the "Web URL" link in the menu since the same link is on the help page.

3.8.4 - cleaned up the code and modified the lame encoding to mp3 adding id3v2 support.

3.9 - added a checkbox for log files. If checked then you will get a md5 file of the ripped/encoded audio files. If shntool is installed you will get shntool len & info of the audio files (flac, shn, ape, or wav). If flac files are output you will get a ffp (flac fingerprint) file. If cdparanoia was used for ripping you'll get a ripping log. I also added buttons to go back and forth between the musicbrainz & freedb databases when using cddb_query. The default output is from freedb. I noticed sometimes one will find the correct disc while the other doesn't so an alternative is nice to have. The English mo file has been added to so if anyone wants to update the other translations please post the updates in the thread.

3.9.1 - fixed bugs with the manual tagging code

3.9.2 - I noticed sometimes the cdrom combobox is empty on occasion. I'm not sure what the deal is there but if probepart fails to find a cdrom drive it will just put /dev/cdrom in the combobox. You can always manually enter your drive in the combobox as well. I also modified the script to find the best suitable version of gtkdialog (gtkdialog4 being the first).

3.9.3 - French translation file was updated. I also changed a couple of other spots in the script that referred to gtkdialog3 and changed to a variable.

Posted: Sun 02 Dec 2007, 23:25
by plinej
here's a pic of the main gui.

Posted: Sun 02 Dec 2007, 23:47
by plinej
Here's a pic of the cddb_query scan gui:

Posted: Mon 03 Dec 2007, 01:01
by plinej
posted 2.9.2

Modified a few lines. I added exec before the rxvt command because my desktop froze up when I tried to shutdown rxvt to cancel my rip. With exec before it seems to be okay.

Posted: Mon 03 Dec 2007, 03:57
by plinej
updated to 2.9.3

Alright, I found one little thing I forgot. I modified the manual tagging to change spaces to underscores. Done for the night, please do some testing and provide some feedback.

Posted: Tue 04 Dec 2007, 03:04
by plinej
2.9.4 is now posted.

added this version:

Added some safe guards that weren't in place before which try to prevent user input errors. Fixed the genre issue, lame chokes if the genre is unknown or is something that doesn't match it's database. Now the program will cross reference with lame and if it can't find the user input or the cddb_query input for the genre it will default to "other" which is accepted by lame. The biggest thing I did for this version is added the ability to rip individual tracks in the same session. Before it was rip the whole disc, rip a range of tracks, or rip a single track. Now you can use the entry box to rip various tracks seperated by a comma. For example, 1,3,5,7 would rip tracks 1,3,5,&7. I also updated the help html file to reference that change.

Posted: Tue 04 Dec 2007, 18:19
by plinej
2.9.5 is posted

Nothing new here, just reduced the code by 59 lines thanks to a solution by MU.

Posted: Fri 07 Dec 2007, 01:17
by plinej
2.9.6 is now posted.

You can now choose between 3 ripping backends.

1. cdparanoia (the original backend)
2. icedax (from Debian's fork of cdrtools the cdrkit package)
3. cdda2wav (from the cdrtools package)

Most Puppie's have cdda2wav & cdparanoia. I know Puppy 4 has icedax & cdparanoia. cdda2wav is a symlink to icedax.

cdparanoia is for the purists and is the closest linux can get to Window's EAC program.

cdda2wav & icedax are faster. They don't have the extra features cdparanoia has to ensure an exact copy of the original. Most of the time, I'm sure, these programs will do the job just fine.

Posted: Sat 08 Dec 2007, 03:47
by plinej
2.9.7 is posted.

Cleaned up a little code & modified the manual tagging system.

Posted: Sat 08 Dec 2007, 20:26
by plinej
2.9.8 is up

It adds support for the faac binary to encode to mp4, m4a, & aac.

Posted: Sun 09 Dec 2007, 03:43
by plinej
updated to 2.9.9

added wma & ape support. See the first post for more info.

Posted: Mon 10 Dec 2007, 04:27
by plinej
3.0 is up

a few bugfixes (see main post)

Posted: Sat 15 Dec 2007, 04:39
by plinej
3.1 is now posted

Posted: Mon 17 Dec 2007, 18:05
by plinej
3.2 is now posted

Posted: Mon 28 Jan 2008, 19:40
by plinej
3.3 is now posted

Posted: Mon 28 Jan 2008, 20:03
by Wolf Pup
plinej, could you add the option joint stereo to mp3?

Posted: Mon 28 Jan 2008, 20:18
by plinej
3.4 is up

When mp3 stereo is selected the output will be joint stereo instead of simple stereo.

Posted: Thu 31 Jan 2008, 14:00
by Flash
I wanted to see if Pcdripper also converts .wav files to .mp3 (32kbps mono). I filled out all the boxes, but then couldn't find a way to start it. How do I tell Pcdripper to go?

Posted: Thu 31 Jan 2008, 16:00
by plinej
It only rips a cd and then encodes. There's no way for it to convert wav files already on your hard drive. You can use my pawdioconverter app for that if you want a gui.

Posted: Fri 01 Feb 2008, 02:58
by Wolf Pup
Wine and MediaCoder work real well with converting audio.