From d4fdb6cc00dd2ecbf2787267de0819ce2c08d1e6 Mon Sep 17 00:00:00 2001 From: Fernando Date: Tue, 6 Jan 2015 13:34:07 -0200 Subject: [PATCH] Auto send user and password when open managetorrents page https://github.com/SiCKRAGETV/sickrage-issues/issues/315 --- sickbeard/webserve.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sickbeard/webserve.py b/sickbeard/webserve.py index b3789b19..6eb880f6 100644 --- a/sickbeard/webserve.py +++ b/sickbeard/webserve.py @@ -3172,6 +3172,9 @@ class Manage(Home, WebRoot): else: t.info_download_station = '

To have a better experience please set the Download Station alias as download, you can check this setting in the Synology DSM Control Panel > Application Portal. Make sure you allow DSM to be embedded with iFrames too in Control Panel > DSM Settings > Security.


There is more information about this available here.


' + if not sickbeard.TORRENT_PASSWORD == "" and not sickbeard.TORRENT_USERNAME == "": + t.webui_url = re.sub('://', '://' + str(sickbeard.TORRENT_USERNAME) + ':' + str(sickbeard.TORRENT_PASSWORD) + '@' ,t.webui_url) + return t.respond() @@ -4716,4 +4719,4 @@ class ErrorLogs(WebRoot): if issue: ui.notifications.message('Your issue ticket #%s was submitted successfully!' % issue.number) - return self.redirect("/errorlogs/") \ No newline at end of file + return self.redirect("/errorlogs/")