@@ -64,7 +64,8 @@ for f in os.listdir(os.getcwd()): | |||
if ext in video_exts: | |||
sources.append({ 'src': f, 'action': 'hardlink' }) | |||
elif ext == '.rar': | |||
contents = unrar(f) | |||
exd = os.path.expanduser(os.path.join(cfg['extractdir'], os.path.basename(f))) | |||
contents = unrar(f, dest=exd) | |||
for ff in os.listdir(contents): | |||
_, ext2 = os.path.splitext(ff) | |||
if ext2 in video_exts: |