Private GIT

Skip to content
Snippets Groups Projects
Commit bd3ddb18 authored by Euca's avatar Euca Committed by Dustyn Gibson
Browse files

FIX: Subtitles Extra Scripts

> Unable to run subs_extra_script: execv() arg 2 must contain only strings
> +ADD epObj.show.indexerid arguments
parent 3d30d46a
No related branches found
No related tags found
No related merge requests found
......@@ -218,8 +218,8 @@ def run_subs_extra_scripts(epObj, foundSubs):
if sickbeard.SUBTITLES_DIR and ek.ek(os.path.exists, sickbeard.SUBTITLES_DIR):
subpath = ek.ek(os.path.join, sickbeard.SUBTITLES_DIR, ek.ek(os.path.basename, subpath))
inner_cmd = script_cmd + [video.name] + [subpath] + [sub.language.opensubtitles] + [epObj.show.name] + \
[epObj.season] + [epObj.episode] + [epObj.name]
inner_cmd = script_cmd + [video.name, subpath, sub.language.opensubtitles, epObj.show.name,
str(epObj.season), str(epObj.episode), epObj.name, str(epObj.show.indexerid)]
# use subprocess to run the command and capture output
logger.log(u"Executing command: %s" % inner_cmd)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment