aboutsummaryrefslogtreecommitdiff
path: root/multimedia/dvdrip/files/patch-lib__Video__DVDRip__GUI__Project__Title.pm
blob: 881d7de0c6d8bdf0b6f61f3e2943b71011846842 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- lib/Video/DVDRip/GUI/Project/Title.pm.orig	Fri Sep 22 15:53:09 2006
+++ lib/Video/DVDRip/GUI/Project/Title.pm	Fri Sep 22 15:56:35 2006
@@ -433,8 +433,10 @@
     my $title = $self->selected_title;
 
     my $command
-        = $self->config('eject_command') . " " .
-            $title->project->dvd_device;
+        = $self->config('eject_command') . " -f " .
+            $title->project->dvd_device .
+	    " eject";
+
 
     system("$command &");
 
@@ -446,8 +448,9 @@
 
     my $title = $self->selected_title;
 
-    my $command = $self->config('eject_command') . " -t "
-        . $title->project->dvd_device;
+    my $command = $self->config('eject_command') . " -f " .
+        $title->project->dvd_device .
+	" close";
 
     system("$command &");