mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
log params to SickBeard.
This commit is contained in:
parent
ab8248977f
commit
2b81d8b9ae
1 changed files with 2 additions and 2 deletions
|
@ -222,14 +222,14 @@ class autoProcessTV:
|
||||||
logger.debug("path: %s" % (dirName),section)
|
logger.debug("path: %s" % (dirName),section)
|
||||||
data = json.dumps({"name": "DownloadedEpisodesScan", "path": dirName})
|
data = json.dumps({"name": "DownloadedEpisodesScan", "path": dirName})
|
||||||
|
|
||||||
logger.debug("Opening URL: %s" % (url),section)
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if section == "SickBeard":
|
if section == "SickBeard":
|
||||||
|
logger.debug("Opening URL: %s with params: %s" % (url, str(fork_params)), section)
|
||||||
r = None
|
r = None
|
||||||
r = requests.get(url, auth=(username, password), params=fork_params, stream=True, verify=False)
|
r = requests.get(url, auth=(username, password), params=fork_params, stream=True, verify=False)
|
||||||
elif section == "NzbDrone":
|
elif section == "NzbDrone":
|
||||||
start_numMissing = self.numMissing(url1, params, headers) # get current number of outstanding eppisodes.
|
start_numMissing = self.numMissing(url1, params, headers) # get current number of outstanding eppisodes.
|
||||||
|
logger.debug("Opening URL: %s with data: %s" % (url, str(data)), section)
|
||||||
r = None
|
r = None
|
||||||
r = requests.post(url, data=data, headers=headers, stream=True, verify=False)
|
r = requests.post(url, data=data, headers=headers, stream=True, verify=False)
|
||||||
except requests.ConnectionError:
|
except requests.ConnectionError:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue