mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-31 03:50:06 -07:00
decode 7zip outut. Fixes #1561
This commit is contained in:
parent
3f3e1415c9
commit
f82fe0ee81
1 changed files with 1 additions and 1 deletions
|
@ -645,7 +645,7 @@ def rip_iso(item, new_dir, bitbucket):
|
||||||
logger.debug('Attempting to extract .vob from image file {0}'.format(item), 'TRANSCODER')
|
logger.debug('Attempting to extract .vob from image file {0}'.format(item), 'TRANSCODER')
|
||||||
print_cmd(cmd)
|
print_cmd(cmd)
|
||||||
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=bitbucket)
|
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=bitbucket)
|
||||||
out, err = proc.communicate()
|
out, err = proc.communicate().decode()
|
||||||
file_list = [re.match(r'.+(VIDEO_TS[/\\]VTS_[0-9][0-9]_[0-9].[Vv][Oo][Bb])', line).groups()[0] for line in
|
file_list = [re.match(r'.+(VIDEO_TS[/\\]VTS_[0-9][0-9]_[0-9].[Vv][Oo][Bb])', line).groups()[0] for line in
|
||||||
out.splitlines() if re.match(r'.+VIDEO_TS[/\\]VTS_[0-9][0-9]_[0-9].[Vv][Oo][Bb]', line)]
|
out.splitlines() if re.match(r'.+VIDEO_TS[/\\]VTS_[0-9][0-9]_[0-9].[Vv][Oo][Bb]', line)]
|
||||||
combined = []
|
combined = []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue