Merge branch 'nightly' of https://github.com/clinton-hall/nzbToMedia into nightly

This commit is contained in:
clinton-hall 2014-06-22 07:34:04 +09:30
commit 44c6b3b1ef

View file

@ -193,8 +193,10 @@ class autoProcessTV:
headers = {"X-Api-Key": apikey}
params = {'sortKey': 'series.title', 'page': 1, 'pageSize': 1, 'sortDir': 'asc'}
if remote_path:
data = json.dumps({"name": "DownloadedEpisodesScan", "path": remote_path})
logger.debug("remote_path: %s" % (remoteDir(dirName)),section)
data = json.dumps({"name": "DownloadedEpisodesScan", "path": remoteDir(dirName)})
else:
logger.debug("path: %s" % (dirName),section)
data = json.dumps({"name": "DownloadedEpisodesScan", "path": dirName})
logger.debug("Opening URL: %s" % (url),section)