mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 02:24:27 +00:00
33 lines
1.3 KiB
Diff
33 lines
1.3 KiB
Diff
--- a/whipper/program/cdparanoia.py
|
|
+++ b/whipper/program/cdparanoia.py
|
|
@@ -280,10 +280,10 @@
|
|
|
|
bufsize = 1024
|
|
if self._overread:
|
|
- argv = ["cd-paranoia", "--stderr-progress",
|
|
+ argv = ["@cdparanoia@/bin/cdparanoia", "--stderr-progress",
|
|
"--sample-offset=%d" % self._offset, "--force-overread", ]
|
|
else:
|
|
- argv = ["cd-paranoia", "--stderr-progress",
|
|
+ argv = ["@cdparanoia@/bin/cdparanoia", "--stderr-progress",
|
|
"--sample-offset=%d" % self._offset, ]
|
|
if self._device:
|
|
argv.extend(["--force-cdrom-device", self._device, ])
|
|
@@ -560,7 +560,7 @@
|
|
|
|
def getCdParanoiaVersion():
|
|
getter = common.VersionGetter('cd-paranoia',
|
|
- ["cd-paranoia", "-V"],
|
|
+ ["@cdparanoia@/bin/cdparanoia", "-V"],
|
|
_VERSION_RE,
|
|
"%(version)s %(release)s")
|
|
|
|
@@ -585,7 +585,7 @@
|
|
def __init__(self, device=None):
|
|
# cdparanoia -A *always* writes cdparanoia.log
|
|
self.cwd = tempfile.mkdtemp(suffix='.whipper.cache')
|
|
- self.command = ['cd-paranoia', '-A']
|
|
+ self.command = ['@cdparanoia@/bin/cdparanoia', '-A']
|
|
if device:
|
|
self.command += ['-d', device]
|