Commit Graph

54 Commits

Author SHA1 Message Date
6d1b6bb8c9 When calculating pregap continue to next track if failed to get any subchannel more than 10 times. 2020-02-04 00:29:56 +00:00
4d0fab130e Show more specific error message in pregap calculation. 2020-02-04 00:16:56 +00:00
96f5729cfc Fix passing by of media type by dumping methods. 2020-01-30 23:04:37 +00:00
c5cdb5da80 Do not fix offset in CD dumping if sector has not been read correctly. 2020-01-12 21:13:51 +00:00
6b1033317a Remove DiscImageChef.CommonTypes dependence on DiscImageChef.Decoders. 2020-01-11 20:55:54 +00:00
53f92aa111 Only show warning about Red Book extensions if disc contains audio tracks. 2020-01-11 15:53:07 +00:00
cb1807242a More fixes for pregap calculation. 2020-01-10 02:36:17 +00:00
ee57b72c4f Do not retry when pregap is correctly found to be 0. 2020-01-10 00:51:59 +00:00
2801c4f67a Try to fix Q also when looking if pregap is 0. 2020-01-10 00:49:47 +00:00
a87c5b24aa Set metadata on dump. 2020-01-09 18:01:43 +00:00
5e0b86af82 Try to do a simple fix of Q subchannel when calculating pregap. 2020-01-09 17:03:20 +00:00
216461d1f4 If Q CRC is not OK or pregap difference is bigger than 10 sectors, skip this, keep going back, unless we are going forward, then just increment pregap by one and continue to next track. 2020-01-09 16:33:52 +00:00
225b9b5df8 Save firmware revision in dump hardware try. 2020-01-09 16:14:00 +00:00
5bded4e37d If pregap read returned error skip forward. 2020-01-09 16:13:30 +00:00
370d4f157b Only skip 10 sectors in pregap calculation when going back. 2020-01-09 16:11:23 +00:00
65163f0363 Do not try to read into intersessions pregaps. 2020-01-09 16:08:33 +00:00
e6dfbc028f Add debug messages to pregap calculation. 2020-01-08 22:39:59 +00:00
9148b8f19e Fix infinite loop in pregap calculation when subchannel comes empty. 2020-01-08 01:52:16 +00:00
75857860f2 Save disc offset in metadata. 2020-01-06 23:41:56 +00:00
eff08a571d Always calculate offset. 2020-01-06 22:29:01 +00:00
14140ed420 Do not try to fix inexactly positioned Q pregaps, as this introduces more errors than it fixes. 2020-01-06 22:27:24 +00:00
9be90b7cb9 Try to solve pregaps when drive+disc combination returns wrong Q positioning and report this has been the case. 2020-01-06 18:36:11 +00:00
93d0671e49 Calculate pregap when drive only supports reading Q subchannel. 2020-01-06 01:12:00 +00:00
fb0281ef41 Continue calculation of pregap even if we didnt get a valid Q subchannel. 2020-01-05 15:49:01 +00:00
72578b7daf Some drives crash if you try to read just before the previous read, so seek away first. 2020-01-05 15:48:37 +00:00
9be6f66f5d Do not infinite loop on same LBA when Q CRC is never correct. 2020-01-05 15:37:00 +00:00
aeac5ea0e6 Rework pregap calculation. 2020-01-05 06:06:50 +00:00
951aa79cce Change --no-metadata to --metadata and --no-trim to --trim. 2020-01-04 02:28:17 +00:00
51b39da0d6 Update copyright date. 2020-01-03 17:52:18 +00:00
ba599df172 Deduplicate code in pregap calculation. 2020-01-03 16:40:04 +00:00
dc99e7a02d Add special check for pregap of 0. 2020-01-03 16:11:53 +00:00
ab4b849175 Fix infinite loop on pregap calculation when subchannel is empty. 2020-01-03 15:00:25 +00:00
c7b6b80c47 Change sense check when crossing lead-out. 2020-01-03 00:09:07 +00:00
9daf5936e1 Check if offset fixing could not cross into Lead-Out. 2020-01-02 23:15:58 +00:00
9bbc70f06e Calculate track sizes and pregaps in media info. 2020-01-02 18:31:49 +00:00
ebcb66f376 Fix pregap calculations when Q subchannel is BCD. 2020-01-02 18:17:47 +00:00
59eb326098 Remove spurious read command in pregap calculation. 2020-01-02 16:02:47 +00:00
1ccbbccc73 Fix reading last sector of a CD with offset fix enabled. 2020-01-02 01:01:34 +00:00
17c5e912c9 Fix force in CD dump when subchannels are not supported by image. 2020-01-02 01:01:34 +00:00
5b38c9a4bc Fix force in CD dump when tags are not supported by image. 2020-01-02 01:01:34 +00:00
520d8981a1 Do not send to output image clusters that cross tracks. 2020-01-02 01:01:34 +00:00
912ab555fb Calculate and use track pregaps. 2020-01-02 01:01:34 +00:00
727afd3e79 Move CD first track pregap reading to a separate file. 2020-01-02 01:01:34 +00:00
644e723a3d Move CD user data error retrying to a separate file. 2020-01-02 01:01:33 +00:00
98b009e02b Move CD user data trimming to a separate file. 2020-01-02 01:01:33 +00:00
423f14c4b1 Move CD user data reading to a separate file. 2020-01-02 01:01:33 +00:00
c2a3c7bffe Move media detection to common class. 2020-01-02 01:01:33 +00:00
3b9649a4a1 Split CD tag reading from dumping. 2020-01-02 01:01:21 +00:00
28c1bad57b Centralize check of supported subchannel reading. 2020-01-02 01:01:21 +00:00
89b0f7af2e Move lead-out retrial. 2020-01-02 01:01:21 +00:00