Merge branch '2.3.x' into devel
This commit is contained in:
commit
168a364da5
2 changed files with 6 additions and 2 deletions
|
@ -174,7 +174,8 @@ def normalize_mutagen(path):
|
|||
try:
|
||||
command = ['silan', '-f', 'JSON', md['path']]
|
||||
proc = subprocess.Popen(command, stdout=subprocess.PIPE)
|
||||
out = proc.stdout.read()
|
||||
out = proc.communicate()[0].strip('\r\n')
|
||||
|
||||
info = json.loads(out)
|
||||
md['cuein'] = info['sound'][0][0]
|
||||
md['cueout'] = info['sound'][-1][1]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue