lsdvd bails out with an error, if there there is an error reading a title from DVD, even if a different title was explicit selected using the -t switch. I'll attach a simple patch that makes lsdvd ignore read errors in DVD titles that won't be used for output anyway.
Created attachment 161480 [details, diff] Patch that makes lsdvd ignore read errors in unused DVD titles
(In reply to comment #0) > lsdvd bails out with an error, if there there is an error reading a title from > DVD, even if a different title was explicit selected using the -t switch. > > I'll attach a simple patch that makes lsdvd ignore read errors in DVD titles > that won't be used for output anyway. > Martin, you kinda lost me there in the explanation. Are you passing -t on a title that doesn't exist, or what?
I'll try better: lsdvd always reads the infos for all titles (even if only a single title was selected with "-t") and bails out if there is an error. Now, if for example title 5 is unreadable but you're interested in title 1, you should be able to get the info by using "-t 1", but that doesn't work, as lsdvd errors out before even starting the output because it can't read title 5. To solve this my patch makes lsdvd ignore read errors in titles it wouldn't display anyway.
+*lsdvd-0.16-r2 (20 Jul 2009) + + 20 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> +lsdvd-0.16-r2.ebuild, + +files/lsdvd-0.16-title.patch: + Don't bail out when there is title reading errors wrt #233113 by Martin + Thierer.