Skip to content

Commit

Permalink
Remove remote address if it still exists in the config file
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarlton00 authored Dec 14, 2019
1 parent 842b081 commit 14fd925
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jellyfin_kodi/database/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,9 @@ def get_credentials():
# If manual is present, local should always be here, but better to be safe
if 'LocalAddress' in server:
del server['LocalAddress']
# Functionality removed in #60
if 'RemoteAddress' in server:
del server['RemoteAddress']
elif 'LocalAddress' in server:
server['address'] = server['LocalAddress']
del server['LocalAddress']
Expand Down

0 comments on commit 14fd925

Please sign in to comment.