sidux.com

sidux Requests - Rubyripper

Arthur - Jul 07, 2008 - 06:06 AM
Post subject: Rubyripper
This is a great secure cd ripper that I found out about while running Archlinux. I believe that it would be of great benefit to the sidux community to have this program available in the sidux repos.

A Hopeful Thanks in Advance,
Arthur
damentz - Jul 10, 2008 - 12:31 AM
Post subject: RE: Rubyripper
My music collection is backuped up in private trackers and meshed networks Wink

Never bought a cd, I prefer downloading a precompressed high quality rip (V0 with **multimedia** or flac) than getting a physical copy that i'll lose and never look at again.
xadras - Jul 10, 2008 - 09:28 AM
Post subject: RE: Rubyripper
@Arthur what makes rubyripper better then kaudiocreator (KDE) or grip (GTK)?
piper - Jul 11, 2008 - 09:25 PM
Post subject: RE: Rubyripper
Quote:

My music collection is backuped up in private trackers and meshed networks


Being on the internet, nothing is private period.
hubi - Jul 11, 2008 - 10:04 PM
Post subject: Re: RE: Rubyripper
piper wrote:
Being on the internet, nothing is private period.
Well ... then let's hack our bank accounts. We'll be rich Mr. Green Mr. Green Mr. Green

But back to the question about rubyripper. I gave that one a look, and it might be a nice program to rip old or scratched CDs but I hopelessly failed to compile it or even build a .deb.

On the other hand: a normal rip never failed till now on any of my 800+ audio CDs yet, so no need to dig into it more deeply on my side.

hubi
makke - Jul 11, 2008 - 10:23 PM
Post subject: RE: Re: RE: Rubyripper
Well, you dont have to compile a ruby app Wink
you need:
Quote:
Dependencies:
* cdparanoia
* ruby-gettext (for translations)

Suggested:
* ruby-gtk2 (for gtk2 gui)
* cd-discid or discid (for proper freedb support)
* eject or diskutil for MacOS (for eject support)
* flac, oggenc, **multimedia** (if the codec is wanted)
* wavgain, vorbisgain, mp3gain (for replaygain support)
* normalize (for normalize support)

then exec rubyripper_cli.rb or rubyripper_gtk2.rb
hubi - Jul 11, 2008 - 10:31 PM
Post subject: RE: Re: RE: Rubyripper
oooh ... Embarassed

It works:
Code:
~/Spielwiese/rubyripper-0.5.1$ ./rubyripper_cli.rb


there is gettext in the Debian repository, no ruby-gettext, and I do not find ruby-gtk2. So no translations and no gui, but who cares.

And now I tar & feather my audio CDs Very Happy

Thanks, makke.

hubi
Arthur - Jul 12, 2008 - 06:51 AM
Post subject: Rubyripper
Sorry for the slow response but I checked a couple of days ago and there was no action on this thread. Let's see,
damentz:
the way you do it seems very cool but I bought a lot of cd's before these sevices were available.
xadras:
it's a secure ripper so if there are any binary anomolies it will make another pass and make a guess at the most correct answer, this is great for scratched or damaged cd's. I've found that it does a very good job of this and so some of my old scratched cd's can be ripped to flac and still sound great.
piper:
point well taken, I live in the USA and the government has the right to filter through all of our emails. It's not well publicized except in other countries.
hubi:
Yes hubi, what a pain. You have to guess about the depandencies. I had the same problem but I was finally able to compile it, but after my last uprade it doesn'work so well, which is the reason that I'd like someone that knows what they're doing to make a .deb package and put it in the repo.
makke:
Thanks!
Everyone:
It's fast, it's accurate, it writes tags properly and it's easy to configure with a nice gui. I have about 185 cd's to go to get everything on my hard drive and this program would be a great blessing. Now I'll say the magic word,"PLEASE".
Well, even if no one does it I think that sidux rocks.

Thanks,
Arthur
makke - Jul 12, 2008 - 07:20 AM
Post subject: Re: RE: Re: RE: Rubyripper
hubi wrote:
there is gettext in the Debian repository, no ruby-gettext, and I do not find ruby-gtk2. So no translations and no gui, but who cares.

maybe libgtk2-ruby and libgettext-ruby1.x? Wink
apt-cache search ftw! Razz
hubi - Jul 12, 2008 - 01:09 PM
Post subject: Re: RE: Re: RE: Rubyripper
Oh makke, I lost my brain in one of Budapest's pubs Very Happy
Code:
apt-get update && apt-get install libgtk2-ruby and libgettext-ruby1.8
did the trick.

@Arthur, rubyripper GUI runs, it is not needed to install it, just the dependencies (see makke's post) and the codecs have to be there. Just extract the tarball and place the folder wherever you want to have it and start rubyripper inside the folder with
Code:
./rubyripper_gtk2.rb
It looks that way here:
Code:
~/Software/Programme/rubyripper-0.5.1$ ./rubyripper_gtk2.rb
You will get the GUI (these are thumbnail links to screenshots):



There were a few things to adjust (the second was tricky, because the GUI tends to blank and I had to use the verbose & debug mode to find it out):


1. adjust if needed the CD device to the naming in /dev/ (default is /dev/cdrom)



If your device is not detected you will find the correct name with
Code:
ls /dev


2. Put the "number of extra encoding tracks" to zero (0)



With the default "1", rubyripper enters a "waitingroom" after having encoded the first track and does not continue to encode until ... maybe the last pub is closing in Budapest which would mean: never.

Setting it to the number of tracks, the GUI segfaults and blanks here.

So "0" is the perfect solution.


3. Use verbose & debug mode

This gives you far more informations in the shell than the log provides in the GUI. And it is essential when your GUI blanks (putting a window over it or changing the virtual desktop is enough to make it blind). If everything works fine, one can disable that function if wanted.




4. CLI version does not work here

It just gives me an error message which seems to be an error in the cli command:
Code:
$ ./rubyripper_cli.rb
Use config file ~/.rubyripper/settings
./rubyripper_cli.rb:262:in `get_cd_info': undefined method `cd_playtime' for #<Disc:0xb7b9bd80> (NoMethodError)
        from ./rubyripper_cli.rb:48:in `initialize'
        from ./rubyripper_cli.rb:403:in `new'
        from ./rubyripper_cli.rb:403


Conclusion:
rubyripper GUI works flawlessly, one just has to do some adjustments that it does not give you the impression that it is broken. It is not broken but it took me a good while and the input of Arthur to find that out after having installed all the dependencies.

Packaging it would be nice, but unfortunatelly I am not literate enough in making DEBs to do it on my own. Maybe at a later stage I have some time to learn it properly. Till then this is a good thread for people to make that nice little application run.

hubi

Edit: I altered my little HOWTO to the perfect way, so Arthur's reply does not make sense now but his reply to my faulty first version was vital to create a perfect setup. So thanks again @makke and @Arthur.
Arthur - Jul 12, 2008 - 11:54 PM
Post subject: Rubyripper
Thanks for the replies, I now have it working perfectly.
hubi, your hint about:
Put the "number of extra encoding tracks" to the number of tracks on the CD
is what did the trick, however changing that number for every rip is just annoying. I have only tested this on one cd but I changed the number to zero and it ripped the cd all the way through.

Thanks Again,
Arthur
hubi - Jul 13, 2008 - 12:03 AM
Post subject: Re: Rubyripper
Arthur wrote:
but I changed the number to zero and it ripped the cd all the way through.
Ah yeah, I did not try that. This might kill this feature. Great Very Happy

Add: setting it to zero stops the segfaults with the GUI as well. So I'll change my previous post after my second testrun is completed (one file + cue sheet was perfect already). The second run (single tracks) also completed flawlessly. Plus, all the temporary WAV files are removed as well which was not done with my "all tracks" setting. Perfect now. Nice stuff.

Good to have a secure ripper running in sidux ...

hubi
All times are GMT
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits