Private GIT

Skip to content
Snippets Groups Projects
Commit ac21f843 authored by Nic Wolfe's avatar Nic Wolfe
Browse files

Pass airdate to extra_scripts

parent ca727319
Branches
Tags
No related merge requests found
......@@ -569,7 +569,7 @@ def processFile(fileName, downloadDir=None, nzbName=None):
notifiers.xbmc.updateLibrary(curHost)
for curScriptName in sickbeard.EXTRA_SCRIPTS:
script_cmd = shlex.split(curScriptName) + [rootEp.location, biggestFileName, str(tvdb_id), str(season), str(episode)]
script_cmd = shlex.split(curScriptName) + [rootEp.location, biggestFileName, str(tvdb_id), str(season), str(episode), str(rootEp.airdate)]
returnStr += logHelper("Executing command "+str(script_cmd))
p = subprocess.Popen(script_cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
out, err = p.communicate()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment