mirror of
https://git.freebsd.org/ports.git
synced 2025-07-09 05:19:16 -04:00
correcting power and its own secure ripping algorithm to ensure that CD rip is done successfully and accurately. It is very similar to and much inspired by EAC for Windows, the golden standard of CD ripping software. Rubyripper, as name implies, is written in Ruby programming language. WWW: http://code.google.com/p/rubyripper/
27 lines
1.1 KiB
Ruby
27 lines
1.1 KiB
Ruby
--- rubyripper_gtk2.rb.orig
|
|
+++ rubyripper_gtk2.rb
|
|
@@ -248,13 +248,13 @@
|
|
def handle_tray
|
|
@buttons.each{|button| button.sensitive = false}
|
|
Thread.new do
|
|
- if installed('eject')
|
|
+ if installed('cdcontrol')
|
|
if @buttontext[2].text == _("Open tray")
|
|
@instances['GtkMetadata'] = false
|
|
@instances['ShortMessage'].open_tray(@settings['cdrom'])
|
|
change_display(@instances['ShortMessage'])
|
|
cancelTocScan()
|
|
- `eject #{@settings['cdrom']}` # spit the cd out
|
|
+ `cdcontrol -f #{@settings['cdrom']} eject` # spit the cd out
|
|
@buttontext[2].set_text('_'+_("Close tray"),true)
|
|
@buttonicons[2].stock = Gtk::Stock::GOTO_TOP
|
|
@instances['ShortMessage'].ask_for_disc
|
|
@@ -262,7 +262,7 @@
|
|
else
|
|
@instances['ShortMessage'].close_tray(@settings['cdrom'])
|
|
change_display(@instances['ShortMessage'])
|
|
- `eject --trayclose #{@settings['cdrom']}` # close the tray
|
|
+ `cdcontrol -f #{@settings['cdrom']} close` # close the tray
|
|
@buttontext[2].set_text('_'+_("Open tray"),true)
|
|
@buttonicons[2].stock = Gtk::Stock::GOTO_BOTTOM
|
|
scan_drive()
|