mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +00:00
Remove remote address if it still exists in the config file
This commit is contained in:
parent
842b0813a3
commit
14fd9253b2
1 changed files with 3 additions and 0 deletions
|
@ -401,6 +401,9 @@ def get_credentials():
|
||||||
# If manual is present, local should always be here, but better to be safe
|
# If manual is present, local should always be here, but better to be safe
|
||||||
if 'LocalAddress' in server:
|
if 'LocalAddress' in server:
|
||||||
del server['LocalAddress']
|
del server['LocalAddress']
|
||||||
|
# Functionality removed in #60
|
||||||
|
if 'RemoteAddress' in server:
|
||||||
|
del server['RemoteAddress']
|
||||||
elif 'LocalAddress' in server:
|
elif 'LocalAddress' in server:
|
||||||
server['address'] = server['LocalAddress']
|
server['address'] = server['LocalAddress']
|
||||||
del server['LocalAddress']
|
del server['LocalAddress']
|
||||||
|
|
Loading…
Reference in a new issue