Pcdripper (PBcdripper) - version 2.9 posted
Posted: Tue 24 Oct 2006, 04:29
THIS THREAD SHOULD NOW BE DEAD,
I wrote Pcdripper and started a new thread at:
http://www.murga-linux.com/puppy/viewtopic.php?p=157790
Here's a little gui I put together just for a little more practice but I ended up liking it better than RipperX so I figured I'd share it. It uses cdparanoia for ripping and lame for encoding if you choose to encode to mp3. I'll attach a snapshot below.
changelog:
0.2 - added encode to mono checkbox in mp3 section
0.3 - added a "keep wavs" checkbox if you don't want your wavs deleted after mp3s are encoded and added an "exit on bad read or skip" checkbox
0.4 - added a renaming box so you can specify a name for your ripped tracks,
combined the rip only a track or rip a range of tracks boxes into one, and moved a couple of other things around.
0.5 - added a rip multiple files to a single track option and re-structured the gui to make it smaller for 800x600 screens
0.6 - modified the gui again to make it smaller and made space for future buttons if any are needed. I also added 56 & 112 to bitrate checkboxes.
0.7 - cleaned up a little code, added varying bit ratio checkboxes, added the nogap option, and updated the help section.
1.0 - added a user default set and run button
1.1 - fixed button label bug
1.2 - applied MU's drag to desktop fix and klhrevolutionist scan results box size fix for 800x600 screen.
1.3 - fixed how pbcdripper reads the default cdrom device, bug found by flash.
1.4 - when "rip full cd" is checked & "output to single track" & "keep wavs" aren't checked, pbcdripper will now rip a track, encode it, delete the wav, and move to the next track and repeat. That was suggested by flash. I also added a popup if a directory isn't selected before the rip button is pushed.
1.5 - You can now rip to directories that contain spaces. You can also enter spaces in the "enter preceding name for tracks" box (although these will be converted to underscores due to lame still chokes on the spaces for some reason). I also added an "eject" checkbox if checked then when work is complete you'll hear 2 barks and the cd will eject.
1.6 - A total re-write of the previous version. Added ogg/wma/flac buttons for encoding (as well as kept mp3). The flac button will appear if the flac executable is found in your path. The ogg button will appear if oggenc is found in your path (or if ffmpeg has the enable-libogg flag). You will need a recent version of ffmpeg for the wma support.
1.7 - flac encoding was not seeing selected encoding rate so I fixed that. I added a spot in the gui where you can see the command line examples of your selected ripping and encoding options.
1.8 - added a kill rip process button and a set defaults button to the gui. I also cleaned up a little bit of the code.
1.9 - fixed scripts incase necessary files aren't found in /root/.pbcdripper directory. Changed program to execute rip and encode in the same rxvt popup window. Changed rxvt width from 60 to 79.
2.0 - added support for ripping to aac format. That option will appear if faac is found in your $PATH. The supported encoding options are now in a drop down box as opposed to individual buttons. I figure that way it will be easier to add various different formats without having to add a new button each time.
2.1 - added m4a as a format to encode to, as long as faac is installed. added the ability to tag your mp3, m4a, & ogg (need oggenc installed) files.
2.2 - added support for shn if shorten is installed. added support for ape if mac is installed. added tagging abilities to wma.
2.3 - added support for more lossless audio codecs.
ttaenc - True Type Audio
ofr - optimfrog
wv - wavpack
la - lossless audio compressor
I also changed the shn portion since it didn't work the way I expected.
2.4 - rewrote to support the new version of gtkdialog (gtkdialog3 executable)
You must install the new gtkdialog in Puppy version's 2.14 and previous. You can find it here:
ftp://ibiblio.org/pub/linux/distributio ... 0.7.18.pet
2.5 - made the entry box for selecting individual or range of tracks to be ripped grayed out when the rip full cd checkbox is checked. Uncheck the checkbox to make an entry.
2.6 - updated the icons to use the stock gtk icons and made program install to /usr/local/apps/ instead of /usr/local/
-------------------------------------------------------------
2.9 - (This is an alpha version) renamed to pcdripper & changed alot. I added support for cddb_query. It's in puppy alpha 4 but I don't know if it's in older puppies since I never used it. With this option id3 tags can be automatically put into your encoded files. I also piped cdparanoia's stdout into the encoders (lame, oggenc, flac, & shorten). I couldn't figure out how to make ffmpeg & mac work in this fashion so I left out the wma & ape encoding options. I also left out some others but I'm guessing probably no one used the others anyway. Now there will be no temp wav files. Xdialog has been removed from the script.
ATTENTION - I only briefly went over some options after writing all this code so this probably has some bugs that need to be ironed out but I figured I'd get it out there to be tested.
----------------------------------------------------------------
oggenc is here:
http://www.murga-linux.com/puppy/viewto ... 22&t=14473
faac is here:
http://www.murga-linux.com/puppy/viewto ... ch&id=3149
flac is here:
http://www.murga-linux.com/puppy/viewtopic.php?t=15436
shorten is here:
http://puppyfiles.org/dotpupsde/dotpups ... -3.6.0.pup
mac is here:
http://puppyfiles.org/dotpupsde/dotpups ... c-3.99.pup
ttaenc is here:
http://www.murga-linux.com/puppy/viewto ... 59&t=13807
optimfrog is here:
http://www.murga-linux.com/puppy/viewto ... 87&t=13802
la is here:
http://www.murga-linux.com/puppy/viewto ... 71&t=13805
wv is here:
http://www.murga-linux.com/puppy/viewto ... 40&t=13799
I'll leave 1.5 up since it's alot different than newer versions.
I wrote Pcdripper and started a new thread at:
http://www.murga-linux.com/puppy/viewtopic.php?p=157790
Here's a little gui I put together just for a little more practice but I ended up liking it better than RipperX so I figured I'd share it. It uses cdparanoia for ripping and lame for encoding if you choose to encode to mp3. I'll attach a snapshot below.
changelog:
0.2 - added encode to mono checkbox in mp3 section
0.3 - added a "keep wavs" checkbox if you don't want your wavs deleted after mp3s are encoded and added an "exit on bad read or skip" checkbox
0.4 - added a renaming box so you can specify a name for your ripped tracks,
combined the rip only a track or rip a range of tracks boxes into one, and moved a couple of other things around.
0.5 - added a rip multiple files to a single track option and re-structured the gui to make it smaller for 800x600 screens
0.6 - modified the gui again to make it smaller and made space for future buttons if any are needed. I also added 56 & 112 to bitrate checkboxes.
0.7 - cleaned up a little code, added varying bit ratio checkboxes, added the nogap option, and updated the help section.
1.0 - added a user default set and run button
1.1 - fixed button label bug
1.2 - applied MU's drag to desktop fix and klhrevolutionist scan results box size fix for 800x600 screen.
1.3 - fixed how pbcdripper reads the default cdrom device, bug found by flash.
1.4 - when "rip full cd" is checked & "output to single track" & "keep wavs" aren't checked, pbcdripper will now rip a track, encode it, delete the wav, and move to the next track and repeat. That was suggested by flash. I also added a popup if a directory isn't selected before the rip button is pushed.
1.5 - You can now rip to directories that contain spaces. You can also enter spaces in the "enter preceding name for tracks" box (although these will be converted to underscores due to lame still chokes on the spaces for some reason). I also added an "eject" checkbox if checked then when work is complete you'll hear 2 barks and the cd will eject.
1.6 - A total re-write of the previous version. Added ogg/wma/flac buttons for encoding (as well as kept mp3). The flac button will appear if the flac executable is found in your path. The ogg button will appear if oggenc is found in your path (or if ffmpeg has the enable-libogg flag). You will need a recent version of ffmpeg for the wma support.
1.7 - flac encoding was not seeing selected encoding rate so I fixed that. I added a spot in the gui where you can see the command line examples of your selected ripping and encoding options.
1.8 - added a kill rip process button and a set defaults button to the gui. I also cleaned up a little bit of the code.
1.9 - fixed scripts incase necessary files aren't found in /root/.pbcdripper directory. Changed program to execute rip and encode in the same rxvt popup window. Changed rxvt width from 60 to 79.
2.0 - added support for ripping to aac format. That option will appear if faac is found in your $PATH. The supported encoding options are now in a drop down box as opposed to individual buttons. I figure that way it will be easier to add various different formats without having to add a new button each time.
2.1 - added m4a as a format to encode to, as long as faac is installed. added the ability to tag your mp3, m4a, & ogg (need oggenc installed) files.
2.2 - added support for shn if shorten is installed. added support for ape if mac is installed. added tagging abilities to wma.
2.3 - added support for more lossless audio codecs.
ttaenc - True Type Audio
ofr - optimfrog
wv - wavpack
la - lossless audio compressor
I also changed the shn portion since it didn't work the way I expected.
2.4 - rewrote to support the new version of gtkdialog (gtkdialog3 executable)
You must install the new gtkdialog in Puppy version's 2.14 and previous. You can find it here:
ftp://ibiblio.org/pub/linux/distributio ... 0.7.18.pet
2.5 - made the entry box for selecting individual or range of tracks to be ripped grayed out when the rip full cd checkbox is checked. Uncheck the checkbox to make an entry.
2.6 - updated the icons to use the stock gtk icons and made program install to /usr/local/apps/ instead of /usr/local/
-------------------------------------------------------------
2.9 - (This is an alpha version) renamed to pcdripper & changed alot. I added support for cddb_query. It's in puppy alpha 4 but I don't know if it's in older puppies since I never used it. With this option id3 tags can be automatically put into your encoded files. I also piped cdparanoia's stdout into the encoders (lame, oggenc, flac, & shorten). I couldn't figure out how to make ffmpeg & mac work in this fashion so I left out the wma & ape encoding options. I also left out some others but I'm guessing probably no one used the others anyway. Now there will be no temp wav files. Xdialog has been removed from the script.
ATTENTION - I only briefly went over some options after writing all this code so this probably has some bugs that need to be ironed out but I figured I'd get it out there to be tested.
----------------------------------------------------------------
oggenc is here:
http://www.murga-linux.com/puppy/viewto ... 22&t=14473
faac is here:
http://www.murga-linux.com/puppy/viewto ... ch&id=3149
flac is here:
http://www.murga-linux.com/puppy/viewtopic.php?t=15436
shorten is here:
http://puppyfiles.org/dotpupsde/dotpups ... -3.6.0.pup
mac is here:
http://puppyfiles.org/dotpupsde/dotpups ... c-3.99.pup
ttaenc is here:
http://www.murga-linux.com/puppy/viewto ... 59&t=13807
optimfrog is here:
http://www.murga-linux.com/puppy/viewto ... 87&t=13802
la is here:
http://www.murga-linux.com/puppy/viewto ... 71&t=13805
wv is here:
http://www.murga-linux.com/puppy/viewto ... 40&t=13799
I'll leave 1.5 up since it's alot different than newer versions.