Merge pull request #274 from mtdcr/accuraterip-module

accuraterip-checksum: convert to python C extension
This commit is contained in:
JoeLametta
2019-10-26 11:32:27 +02:00
committed by GitHub
10 changed files with 136 additions and 290 deletions

View File

@@ -190,12 +190,7 @@ CD in the AccurateRip database."""
track, offset)
runner.run(t)
v1 = arc.accuraterip_checksum(
path, track, len(table.tracks), wave=True, v2=False
)
v2 = arc.accuraterip_checksum(
path, track, len(table.tracks), wave=True, v2=True
)
v1, v2 = arc.accuraterip_checksum(path, track, len(table.tracks))
os.unlink(path)
return "%08x" % v1, "%08x" % v2