Commit Graph

566 Commits

Author SHA1 Message Date
89af24a80e Change order of checking SBC media type. 2020-01-30 23:10:21 +00:00
96f5729cfc Fix passing by of media type by dumping methods. 2020-01-30 23:04:37 +00:00
1ca9af7503 Clear cache when calculating disc offset in MediaTek drives. 2020-01-19 20:17:12 +00:00
b9c327b38c Fix media type detection when CD TOC does not list track 1. 2020-01-19 19:04:34 +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
13ccbcb998 Refactor rename "Revision" to "FirmwareRevision". 2020-01-09 15:02:21 +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
a17bc7f822 Fix offset calculation when pregap of a data track must be skipped. 2020-01-07 23:25:02 +00:00
75857860f2 Save disc offset in metadata. 2020-01-06 23:41:56 +00:00
0380b6f986 Fix offset calculation when data can be read scrambled. 2020-01-06 23:20:10 +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
c55d6f8ebb Separate CRC16 IBM and CRC16 CCITT contexts, use cached tables. 2020-01-04 18:18:20 +00:00
951aa79cce Change --no-metadata to --metadata and --no-trim to --trim. 2020-01-04 02:28:17 +00:00
56e24f1ed9 Remove benchmark command. 2020-01-03 18:13:57 +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
155648a174 Calculate offset on discs where an audio track follows a data track, and offset is less than one sector. 2020-01-02 23:13:03 +00:00
26b9f44269 Calculate offset on discs where an audio track follows a data track. 2020-01-02 20:13:47 +00:00
697649ed53 Show offsets in media info. 2020-01-02 19:50:43 +00:00
16c3c2f9ef Catch database concurrency exception. 2020-01-02 19:46:32 +00:00
7bf3b25710 Fix collision of devices in master db update. 2020-01-02 19:46:14 +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