[SCM] morituri/master: * morituri/rip/offset.py: Add a more complete list of offsets, obtained using misc/offsets.py
js at users.alioth.debian.org
js at users.alioth.debian.org
Sun Oct 19 20:09:15 UTC 2014
The following commit has been merged in the master branch:
commit efbfc717aa8bc3d18c5f3cea41cbcb727cb5049e
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date: Sun Mar 14 13:03:50 2010 +0000
* morituri/rip/offset.py:
Add a more complete list of offsets, obtained using misc/offsets.py
diff --git a/ChangeLog b/ChangeLog
index 8fa0294..029fd37 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2010-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
+ * morituri/rip/offset.py:
+ Add a more complete list of offsets, obtained using misc/offsets.py
+
+2010-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
+
* misc/offsets.py (added):
Add a script to calculate list of offsets based on AccurateRip's
online database, according to popularity.
diff --git a/morituri/rip/offset.py b/morituri/rip/offset.py
index 261a96d..c8d5875 100644
--- a/morituri/rip/offset.py
+++ b/morituri/rip/offset.py
@@ -30,6 +30,19 @@ from morituri.common import logcommand, task, checksum, accurip, drive
from morituri.image import image
from morituri.program import cdrdao, cdparanoia
+# see http://www.accuraterip.com/driveoffsets.htm
+# and misc/offsets.py
+OFFSETS = "+6, +48, +102, +667, +12, +30, +618, +594, +738, -472, " + \
+ "+98, +116, +96, +733, +120, +691, +685, +97, +600, " + \
+ "+690, +1292, +99, +676, +686, +1182, -24, +704, +572, " + \
+ "+688, +91, +696, +103, -491, +689, +145, +708, +697, " + \
+ "+564, +86, +679, +355, -496, -1164, +1160, +694, 0, " + \
+ "-436, +79, +94, +684, +681, +106, +692, +943, +1194, " + \
+ "+92, +117, +680, +682, +1268, +678, -582, +1473, +1279, " + \
+ "-54, +1508, +740, +1272, +534, +976, +687, +675, +1303, " + \
+ "+674, +1263, +108, +974, +122, +111, -489, +772, +732, " + \
+ "-495, -494, +975, +935, +87, +668, +1776, +1364, +1336, " + \
+ "+1127"
class Find(logcommand.LogCommand):
summary = "find drive read offset"
@@ -37,9 +50,7 @@ class Find(logcommand.LogCommand):
CD in the AccurateRip database."""
def addOptions(self):
- # see http://www.accuraterip.com/driveoffsets.htm
- default = "0, 6, 12, 48, 91, 97, 102, 108, 120, " + \
- "564, 594, 667, 685, 691, 704, 738, 1194, 1292, 1336, 1776, -582"
+ default = OFFSETS
self.parser.add_option('-o', '--offsets',
action="store", dest="offsets",
help="list of offsets, comma-separated, "
--
morituri packaging
More information about the pkg-multimedia-commits
mailing list