mirror of
https://github.com/beetbox/beets.git
synced 2025-12-30 04:22:40 +01:00
More precise comment for #1398
This commit is contained in:
parent
7128340385
commit
6fcd88bc31
1 changed files with 5 additions and 2 deletions
|
|
@ -190,13 +190,16 @@ class Bs1770gainBackend(Backend):
|
|||
cmd = [self.command]
|
||||
cmd = cmd + [self.method]
|
||||
cmd = cmd + [b'-it']
|
||||
# workaround for windows MAX_PATH prefix, will get problems
|
||||
# when path is too long on windows
|
||||
|
||||
try:
|
||||
# Workaround for Windows: the underlying tool fails on paths
|
||||
# with the \\?\ prefix, so we don't use it here. This
|
||||
# prevents the backend from working with long paths.
|
||||
output = call(cmd +
|
||||
[syspath(i.path, prefix=False) for i in items])
|
||||
except:
|
||||
self._log.debug(u'bsgain1770 failed')
|
||||
|
||||
self._log.debug(u'analysis finished:{0}', output)
|
||||
results = self.parse_tool_output(output,
|
||||
len(items) + is_album)
|
||||
|
|
|
|||
Loading…
Reference in a new issue