Jimmi wrote:
> Dvdrip starts, create the project but, when I try to read the TOC I get the
> following error:
>
> Can't call method "nr" on an undefined value at
> /usr/share/perl5/Video/DVDRip/Content.pm line 110
TOC reading failed for some reason and dvd::rip runs into this exception
(which is indeed a dvd::rip bug).
Check and correct your DVD device settings. Once these are correct and
dvd::rip is able to access your DVD device, everything should work like
expected.
The attached patch fixes the exception, dvd::rip will show an message
about problems accessing your DVD drive.
Regards,
Joern
--
Joern Reder
Development Head ZYN! Coding Division - http://www.zyn.de/
Index: lib/Video/DVDRip/Content.pm
===================================================================
RCS file: /home/cvsroot/dvdrip/lib/Video/DVDRip/Content.pm,v
retrieving revision 1.26
diff -u -r1.26 Content.pm
--- lib/Video/DVDRip/Content.pm 18 Aug 2006 21:20:38 -0000 1.26
+++ lib/Video/DVDRip/Content.pm 21 Aug 2006 19:42:36 -0000
@@ -107,7 +107,8 @@
}
}
- $self->set_selected_title_nr($selected_title->nr);
+ $self->set_selected_title_nr($selected_title->nr)
+ if $selected_title;
1;
}
pgpuQUbqofxWO.pgp
Description: PGP signature
|