mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Bare minimum to remove dependency on WAN address
This commit is contained in:
parent
5944e47efa
commit
6a31d01e50
3 changed files with 0 additions and 8 deletions
|
@ -53,9 +53,6 @@ class LogHandler(logging.StreamHandler):
|
||||||
if server.get('LocalAddress'):
|
if server.get('LocalAddress'):
|
||||||
self.sensitive['Server'].append(server['LocalAddress'].split('://')[1])
|
self.sensitive['Server'].append(server['LocalAddress'].split('://')[1])
|
||||||
|
|
||||||
if server.get('RemoteAddress'):
|
|
||||||
self.sensitive['Server'].append(server['RemoteAddress'].split('://')[1])
|
|
||||||
|
|
||||||
if server.get('ManualAddress'):
|
if server.get('ManualAddress'):
|
||||||
self.sensitive['Server'].append(server['ManualAddress'].split('://')[1])
|
self.sensitive['Server'].append(server['ManualAddress'].split('://')[1])
|
||||||
|
|
||||||
|
|
|
@ -599,8 +599,6 @@ class ConnectionManager(object):
|
||||||
|
|
||||||
if system_info.get('LocalAddress'):
|
if system_info.get('LocalAddress'):
|
||||||
server['LocalAddress'] = system_info['LocalAddress']
|
server['LocalAddress'] = system_info['LocalAddress']
|
||||||
if system_info.get('WanAddress'):
|
|
||||||
server['RemoteAddress'] = system_info['WanAddress']
|
|
||||||
if 'MacAddress' in system_info:
|
if 'MacAddress' in system_info:
|
||||||
server['WakeOnLanInfos'] = [{'MacAddress': system_info['MacAddress']}]
|
server['WakeOnLanInfos'] = [{'MacAddress': system_info['MacAddress']}]
|
||||||
|
|
||||||
|
|
|
@ -99,9 +99,6 @@ class Credentials(object):
|
||||||
if server.get('ExchangeToken'):
|
if server.get('ExchangeToken'):
|
||||||
existing['ExchangeToken'] = server['ExchangeToken']
|
existing['ExchangeToken'] = server['ExchangeToken']
|
||||||
|
|
||||||
if server.get('RemoteAddress'):
|
|
||||||
existing['RemoteAddress'] = server['RemoteAddress']
|
|
||||||
|
|
||||||
if server.get('ManualAddress'):
|
if server.get('ManualAddress'):
|
||||||
existing['ManualAddress'] = server['ManualAddress']
|
existing['ManualAddress'] = server['ManualAddress']
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue