Pcdripper-3.9.4

Audio editors, music players, video players, burning software, etc.
Message
Author
plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

Pcdripper-3.9.4

#1 Post 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.
Attachments
pcdripper-3.9.4.pet
2019-10-12 updated version
(25.31 KiB) Downloaded 172 times
libcddb-1.3.2-i686.pet
(35.35 KiB) Downloaded 2175 times
libcddb_DEV-1.3.2-i686.pet
(98.59 KiB) Downloaded 1478 times
Last edited by plinej on Sat 12 Oct 2019, 17:24, edited 41 times in total.

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#2 Post by plinej »

here's a pic of the main gui.
Attachments
pcdripper.jpg
(55.94 KiB) Downloaded 6128 times
Last edited by plinej on Tue 04 Dec 2007, 03:50, edited 2 times in total.

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#3 Post by plinej »

Here's a pic of the cddb_query scan gui:
Attachments
pcdripper2.jpg
(60.91 KiB) Downloaded 4864 times
Last edited by plinej on Tue 04 Dec 2007, 03:52, edited 1 time in total.

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#4 Post 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.

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#5 Post 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.

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#6 Post 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.

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#7 Post by plinej »

2.9.5 is posted

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

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#8 Post 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.

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#9 Post by plinej »

2.9.7 is posted.

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

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#10 Post by plinej »

2.9.8 is up

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

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#11 Post by plinej »

updated to 2.9.9

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

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#12 Post by plinej »

3.0 is up

a few bugfixes (see main post)

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#13 Post by plinej »

3.1 is now posted

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#14 Post by plinej »

3.2 is now posted

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#15 Post by plinej »

3.3 is now posted

Wolf Pup
Posts: 637
Joined: Fri 28 Apr 2006, 01:37

#16 Post by Wolf Pup »

plinej, could you add the option joint stereo to mp3?
[img]http://img230.imageshack.us/img230/8595/ubd6467dp2.png[/img]
[url=http://www.tinyurl.com/54tu74]Visit The Repository[/url] - Helpful and hard-to-find treats for Puppy 3.
[url=http://www.tinyurl.com/c5a68f]Click Here for Puppy Support Chat, + Helpful Links.[/url]

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#17 Post by plinej »

3.4 is up

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

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#18 Post 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?

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#19 Post 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.

Wolf Pup
Posts: 637
Joined: Fri 28 Apr 2006, 01:37

#20 Post by Wolf Pup »

Wine and MediaCoder work real well with converting audio.
[img]http://img230.imageshack.us/img230/8595/ubd6467dp2.png[/img]
[url=http://www.tinyurl.com/54tu74]Visit The Repository[/url] - Helpful and hard-to-find treats for Puppy 3.
[url=http://www.tinyurl.com/c5a68f]Click Here for Puppy Support Chat, + Helpful Links.[/url]

Post Reply