Hi everyone, Thanks for your on-going patience.
On Mon, Dec 03, 2018 at 10:11:35AM +0000, Edd Barrett wrote: > Hi guys, > > On Sun, Dec 02, 2018 at 10:01:48PM +0100, Thomas Schmitt wrote: > > Edd first has to test the current state (which should show wrong info > > about leadout if first_track > 1) and then my proposal. I think Thomas is right. If I print the computed leadout for my 5-track CD starting at 7: ---8<--- TOTAL_TRACKS + 1 = 6 _obj->gen.i_tracks + _obj->gen.i_first_track = 12 --->8--- Clearly the leadout track should be 12, not 6. Note however that the cd-info output is correct both before and after this fix: https://github.com/vext01/libcdio/commit/539c52488506c5bacdfebbcafc5406034a0738fd (Note that I reverted my cd-info change in favour of Rocky's) ---8<--- CD-ROM Track List (7 - 5) #: MSF LSN Type Green? Copy? Channels Premphasis? 7: 00:02:00 000000 audio false no 0 no 8: 03:07:72 013947 audio false no 0 no 9: 05:46:12 025812 audio false no 0 no 10: 07:24:74 033224 audio false no 0 no 11: 09:41:34 043459 audio false no 0 no 170: 09:41:34 043459 leadout (97 MB raw, 97 MB formatted) --->8--- This looks correct to me. Regardless, cd-paranoia is still upset: ---8<--- $ ./inst/bin/cd-paranoia -B cdparanoia III release 10.2 libcdio 2.0.0 x86_64-unknown-openbsd6.4 (C) 2001 Monty <mo...@xiph.org> and Xiphophorus (C) 2004, 2005, 2008 Rocky Bernstein <ro...@gnu.org> (C) 2014 Robert Kausch <robert.kau...@freac.org> Report bugs to bug-libc...@gnu.org 009: CDROM reporting illegal table of contents Unable to open disc. --->8--- I'm going to have to look deeper into this one. Any pointer appreciated of course :) -- Best Regards Edd Barrett http://www.theunixzoo.co.uk