Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233113 - media-video/lsdvd: Ignore DVD read errors in unused titles
Summary: media-video/lsdvd: Ignore DVD read errors in unused titles
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-27 18:19 UTC by Martin Thierer
Modified: 2009-07-20 23:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch that makes lsdvd ignore read errors in unused DVD titles (lsdvd-0.16-title.patch,405 bytes, patch)
2008-07-27 18:23 UTC, Martin Thierer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Thierer 2008-07-27 18:19:54 UTC
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.
Comment 1 Martin Thierer 2008-07-27 18:23:36 UTC
Created attachment 161480 [details, diff]
Patch that makes lsdvd ignore read errors in unused DVD titles
Comment 2 Steve Dibb (RETIRED) gentoo-dev 2008-08-12 18:11:16 UTC
(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?
Comment 3 Martin Thierer 2008-08-12 19:46:52 UTC
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.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2009-07-20 23:13:25 UTC
+*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.