Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: A secure ripper for linux (Read 162710 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

A secure ripper for linux

Reply #75
Did I mention that cdparanoia freezes when ripping the last track of an enhanced CD?

A secure ripper for linux

Reply #76
Do you mean a data track or the last audio track? If the first is the problem, then an option to manually select the amount of tracks needs to be added. I wouldn't know of any other way.

EDIT: If the data track is also ripped, then the amount of tracks comes from the cd(probably cd-discid or something similar) and not from cdparanoia directly.

A secure ripper for linux

Reply #77
Just for anyone who's looking out for a new release: I rewrote the app in Ruby and also made a gtk2-based gui for it . You'd need ruby-libglade and ruby-freedb and all of it's dependencies of course. I am hoping to make a public release next weekend, just ironing out a few known problems.

The rewrite was necessary for using a gui-based application. It's also easier for me to add functionality to the ripper now it's written in ruby, because of it's easy to use classes. In python I had too often to make a workaround to get something done.

Just one thing worries me a bit though: Are ruby-libglade and it's dependencies available for Mac Os users? If not, what gui-based toolkit is? Since I'm not a mac os expert, I thought I might as well ask you about it
A secure audio ripper for linux: code.google.com/p/rubyripper

A secure ripper for linux

Reply #78
Hi,

As promised a release. For now I start with version 0.1. I hope most bugs are squashed now, but there probably still are some. Please find them for me

You can download this release from http://rubyforge.org/projects/rubyripper/ . A changelog is included there. Biggest change is the Gtk2-based gui and the fact that Mac OS is no longer supported, see last post.

To install:
Just unpack the files, make rubyripper.rb executable and run ./rubyripper.rb. Make sure ruby-libglade2, ruby-freedb2, cdda2wav and cdparanoia are installed.

Have fun,

frodoontop
A secure audio ripper for linux: code.google.com/p/rubyripper

A secure ripper for linux

Reply #79
i'm very new to linux, and i'm trying to figure all this out...  i'm running ubuntu, and have downloaded and installed libglade2-ruby, cdparanoia and cdda2wav through the package manager.  where can i find/how would i go about installing ruby-freedb.  after i figure this out, i'll probably be back with some more questions.  hope you don't mind helping a noobie out w/ basic linux incompetencies...

ps, thanks for making this tool available, frodoontop.  i'm really excited about getting it working.  apparently, you've done alot of good work here.  thanks
a windows-free, linux user since 1/31/06.

A secure ripper for linux

Reply #80
I can't find it for ubuntu either. A bloody shame it is. Anyway you can compile it yourself (provided you have installed a build environment (gcc, binutils, etc.) in Ubuntu). Just download the tar.gz from http://ruby-freedb.rubyforge.org/ and unpack it in a terminal with tar xfz <bladiebla.tar.gz>. Then enter: ./configure, make. Get superuser rights (enter su). And finally make install.
A secure audio ripper for linux: code.google.com/p/rubyripper

A secure ripper for linux

Reply #81
i apologize for my incompentence, but i'm still not getting this to work correctly.  i was able to download and unpack the tar archive.  i haven't been able to find out what to do with the ./configure command you gave me.

also, i know how to install debian packages, and the page you directed me to had a debian package for downloading.  i tried it too, with no success.  i dont know what the problem was, but i did notice that when i downloaded it, it said that it was for i386 archetecture, while i know that i am using a 686 kernel.  could that be the problem there?    again, i'm sorry to be bothering you with my noobie linux problems here.
a windows-free, linux user since 1/31/06.

A secure ripper for linux

Reply #82
Ok, I see that I have misinformed you (oops ). Now comes what works for me, just open up a terminal and do after me. First cd to the directory you saved ruby-freedb-0.5.tar.gz and then:

frodo@localhost ~/Desktop/Downloads/src/ruby-freedb $ ls
ruby-freedb-0.5.tar.gz
frodo@localhost ~/Desktop/Downloads/src/ruby-freedb $ tar xfz ruby-freedb-0.5.tar.gz
frodo@localhost ~/Desktop/Downloads/src/ruby-freedb $ cd ruby-freedb-0.5
frodo@localhost ~/Desktop/Downloads/src/ruby-freedb/ruby-freedb-0.5 $ ruby extconf.rb
checking for OS... linux
creating Makefile
frodo@localhost ~/Desktop/Downloads/src/ruby-freedb/ruby-freedb-0.5 $ make
i686-pc-linux-gnu-gcc -fPIC -O2 -march=i686 -pipe -ftracer  -fPIC -DOS_LINUX  -I. -I/usr/lib/ruby/1.8/i686-linux -I/usr/lib/ruby/1.8/i686-linux -I.  -c freedb_cdrom.c
i686-pc-linux-gnu-gcc -shared  -L'/usr/lib' -Wl,-R'/usr/lib' -o freedb_cdrom.so freedb_cdrom.o  -Wl,-R -Wl,/usr/lib -L/usr/lib -L. -lruby18  -lpthread -ldl -lcrypt -lm  -lc
frodo@localhost ~/Desktop/Downloads/src/ruby-freedb/ruby-freedb-0.5 $ su
Password:
localhost ruby-freedb-0.5 # make install

The last step I haven't done, cause I've already installed it. Now it should get you started.
A secure audio ripper for linux: code.google.com/p/rubyripper

A secure ripper for linux

Reply #83
Hello!
I'm sorry, but an error occurs everytime I try to start rubyripper:

Code: [Select]
./rubyripper.rb:9: uninitialized constant Gui::GetText (NameError)


and I don't know what this is about.
Maybe somebody can help me...

Thank you!

A secure ripper for linux

Reply #84
Quote
Just for anyone who's looking out for a new release: I rewrote the app in Ruby and also made a gtk2-based gui for it . You'd need ruby-libglade and ruby-freedb and all of it's dependencies of course. I am hoping to make a public release next weekend, just ironing out a few known problems.

The rewrite was necessary for using a gui-based application. It's also easier for me to add functionality to the ripper now it's written in ruby, because of it's easy to use classes. In python I had too often to make a workaround to get something done.

Just one thing worries me a bit though: Are ruby-libglade and it's dependencies available for Mac Os users? If not, what gui-based toolkit is? Since I'm not a mac os expert, I thought I might as well ask you about it
[a href="index.php?act=findpost&pid=359047"][{POST_SNAPBACK}][/a]


Cocoa is the native tool kit of OS X. Luckily, you can use the excellent RubyCocoa binding (http://rubycocoa.sourceforge.net/doc/) to write a Cocoa application in Ruby (XCode will allow you to design a GUI with minimum effort). However, you do have to be somewhat familiar with OS X APIs.

On the cross-platform side, we have QT, Swing and SWT. I would not recommend the latter two since JRuby is quite slow. This leaves us with QT. I highly reommend you to use QT instead of GTK+ as it is a much more mature cross platform toolkit (just think how long KDE has been around). QT4 is available in GPL for win32, x11 and mac, so you should have no problem as far as licensing is concerned. QTDesigner will allow you to quickly throw a GUI together, although I would highly recommend you to have a look at Apple HIG and design your interface around the OS X platform as most OS X users have high expectations when it comes to HIG compliance and system integration.

If you have to use GTK+ then you will have to wait for Imendio to finish porting GTK+ to OS X and it will take more time before they are able to add a native looking theme.

A secure ripper for linux

Reply #85
@xtian82: Look at the forums of my site for a possible workaround. I'll be posting an update tomorrow that will fix this issue. I think you won't have the problem if you set your locale to nl_NL, that's probably why I don't encounter this problem.

@someone: Qt seems like a viable solution. This will take some time though. I will have to rearrange some code to make it more user interface independant. You could actually help by making the user interface of qt in qt designer to reflect the gtk interface, or improve it in fact! I will post some screenshots soon. In no way I'm a user interface expert.
A secure audio ripper for linux: code.google.com/p/rubyripper

A secure ripper for linux

Reply #86
Rubyripper 0.1.1 released. Hopefully fixes the startup trouble with gettext.
A secure audio ripper for linux: code.google.com/p/rubyripper

A secure ripper for linux

Reply #87
i tried following your steps again, and am still having problems.  now i'm thinking there might be a problem w/ ruby...  this is what i've got.
Code: [Select]
reed@ubuntu:~$ ls
Desktop                     ruby-freedb-0.5.tar.gz
reed@ubuntu:~$ tar xfz ruby-freedb-0.5.tar.gz
reed@ubuntu:~$ cd ruby-freedb-0.5
reed@ubuntu:~/ruby-freedb-0.5$ ruby extconf.rb
extconf.rb:1:in `require': no such file to load -- mkmf (LoadError)
       from extconf.rb:1
reed@ubuntu:~/ruby-freedb-0.5$
i'm going to try reinstalling the libglade2-ruby via my ubuntu package manager.  i'll let you know if anything changes.
a windows-free, linux user since 1/31/06.

A secure ripper for linux

Reply #88
Quote
Rubyripper 0.1.1 released. Hopefully fixes the startup trouble with gettext.
[a href="index.php?act=findpost&pid=363679"][{POST_SNAPBACK}][/a]

Thanks, it works now fine.

A secure ripper for linux

Reply #89
someone suggested that my problem might be that i need to install the ruby1.8-dev package, so i did, and it helped, but i'm still not out of the water. the "$ ruby extconf.rb" step worked, but now the next step, the "$ make" step isn't working.  this is what i get.
Code: [Select]
reed@ubuntu:~/ruby-freedb-0.5$ ruby extconf.rb
checking for OS... linux
creating Makefile
reed@ubuntu:~/ruby-freedb-0.5$ make
bash: make: command not found
reed@ubuntu:~/ruby-freedb-0.5$
do any of you have any advice?  thanks, and i'm sorry i'm having so much trouble.
a windows-free, linux user since 1/31/06.

A secure ripper for linux

Reply #90
I'm not sure about this, but try installing make or automake.

Code: [Select]
sudo apt-get install make


or if that doesn't work, try

Code: [Select]
sudo apt-get install automake
Kittens give Morbo gas.

A secure ripper for linux

Reply #91
Do:
Code: [Select]
sudo apt-get install build-essential
sudo apt-get install autoconf automake


Then:
Code: [Select]
./configure
make
sudo make install
She is waiting in the air

A secure ripper for linux

Reply #92
Lovely, just change the project name after the fact that I added it to the wiki and wrote a description.    It's Pyripper one day and Ruby another. It's great to finally see secure ripper for linux though, even though I am not that concerned about secure rips. 
budding I.T professional

A secure ripper for linux

Reply #93
excellent.  i can feel it.  i'm almost there.  i've got it installed and running, but in the status window, it says "No disc found in /dev/cdrom" even when i have a cd in.  my drive is working properly, because i can play the cd through other applications.  so i'm guessing i need to change the "Cdrom" field under "Ripping Settings," but i don't know what to change it to.  how do i find out what i need to change it to...  again, i feel like this is a really simple linux question, and i appologize for asking it here.

edit: arg, i'm dumb.  i should have tried another cd before i jumped to conclusions.  apparently, the problem was just that freedb did not recognize that disc i was using.  things are looking good again.
a windows-free, linux user since 1/31/06.

 

A secure ripper for linux

Reply #94
things seem to be working well finally.  first of all, am i correct in assuming that using cdparanoia has no benefits over cdda2wav on drives that cache?  also, for drives that do not cache, cdparanoia can be better at recovering secure rips on damaged cd's than cdda2wav?

secondly, i am not able to rip cd's that have a "data track" at the end either.  the checkbox next to the data track is not checked, obviously, so i would think that it would be able to rip all of the audio tracks w/o any problems.  but instead, rubyripper hangs on the first attempt of the last audio track.

regarless of this little problem, so far i love rubyripper. its a great tool!  thanks.
a windows-free, linux user since 1/31/06.

A secure ripper for linux

Reply #95
Wow!
Haven't been watching Hydrogenaudio that much lately, but I changed completely from Microsoft-world to Linux about 3 years ago, and I have been playing with EAC+WINE a bit, but a native application for secure ripping under Linux is a must....

I'll check it out when I get home from work!

A secure ripper for linux

Reply #96
in addition to my previous questions, do any of you know of a different way or utility to upload cd track data to freedb?  becaue i can't get RubyRipper to work on cd's that aren't recongized by RubyRipper, and i'd like to contribute to the database anyway.

edit:  see my correction below.
a windows-free, linux user since 1/31/06.

A secure ripper for linux

Reply #97
I'll look into it. If other rippers can find the cddb info, something must be wrong on my side. I have no plans to upload data to freedb yet.
A secure audio ripper for linux: code.google.com/p/rubyripper

A secure ripper for linux

Reply #98
sorry, i meant to say that "i can't get RubyRipper to work on cd's that aren't recognized by freedb."  i don't think there is a problem with RubyRipper accessing the database, rather just with ripping cd's that aren't in the database.
a windows-free, linux user since 1/31/06.

A secure ripper for linux

Reply #99
same problem here. I can't rip cds not found in freedb.
I bought a new cd yesterday and both cdda2wav (default) and cdda2wav (-paranoia) could not rip it right. I tried EAC under WinXP and it took about 9 hours to rip 3 tracks. I hope it works (faster) with rubyripper.