Sick-Beard: set default port to 8082

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-04-16 22:10:47 +02:00
parent cea4b0c8c8
commit 3df2ed0857

View File

@ -5,7 +5,7 @@ diff -Naur Sick-Beard-0f076f4/autoProcessTV/autoProcessTV.cfg.sample Sick-Beard-
[SickBeard] [SickBeard]
host=localhost host=localhost
-port=8081 -port=8081
+port=8083 +port=8082
username= username=
password= password=
-web_root= -web_root=
@ -19,7 +19,7 @@ diff -Naur Sick-Beard-0f076f4/data/interfaces/default/config_general.tmpl Sick-B
<label class="nocheck clearfix"> <label class="nocheck clearfix">
<span class="component-title">&nbsp;</span> <span class="component-title">&nbsp;</span>
- <span class="component-desc">Web port that Sick Beard should listen on (eg. 8081)</span> - <span class="component-desc">Web port that Sick Beard should listen on (eg. 8081)</span>
+ <span class="component-desc">Web port that Sick Beard should listen on (eg. 8083)</span> + <span class="component-desc">Web port that Sick Beard should listen on (eg. 8082)</span>
</label> </label>
</div> </div>
@ -31,14 +31,14 @@ diff -Naur Sick-Beard-0f076f4/sickbeard/__init__.py Sick-Beard-0f076f4.patch/sic
try: try:
- WEB_PORT = check_setting_int(CFG, 'General', 'web_port', 8081) - WEB_PORT = check_setting_int(CFG, 'General', 'web_port', 8081)
+ WEB_PORT = check_setting_int(CFG, 'General', 'web_port', 8083) + WEB_PORT = check_setting_int(CFG, 'General', 'web_port', 8082)
except: except:
- WEB_PORT = 8081 - WEB_PORT = 8081
+ WEB_PORT = 8083 + WEB_PORT = 8082
if WEB_PORT < 21 or WEB_PORT > 65535: if WEB_PORT < 21 or WEB_PORT > 65535:
- WEB_PORT = 8081 - WEB_PORT = 8081
+ WEB_PORT = 8083 + WEB_PORT = 8082
WEB_HOST = check_setting_str(CFG, 'General', 'web_host', '0.0.0.0') WEB_HOST = check_setting_str(CFG, 'General', 'web_host', '0.0.0.0')
WEB_IPV6 = bool(check_setting_int(CFG, 'General', 'web_ipv6', 0)) WEB_IPV6 = bool(check_setting_int(CFG, 'General', 'web_ipv6', 0))
@ -50,7 +50,7 @@ diff -Naur Sick-Beard-0f076f4/sickbeard/webserveInit.py Sick-Beard-0f076f4.patch
def initWebServer(options = {}): def initWebServer(options = {}):
- options.setdefault('port', 8081) - options.setdefault('port', 8081)
+ options.setdefault('port', 8083) + options.setdefault('port', 8082)
options.setdefault('host', '0.0.0.0') options.setdefault('host', '0.0.0.0')
options.setdefault('log_dir', None) options.setdefault('log_dir', None)
options.setdefault('username', '') options.setdefault('username', '')