Skip to content

Commit

Permalink
Fixes ip retrieval issue
Browse files Browse the repository at this point in the history
  • Loading branch information
PCigales committed Dec 30, 2020
1 parent c05cf4f commit 4f4399f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DLNAmpcRenderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2434,7 +2434,7 @@ class DLNARenderer:
def __init__(self, RendererPort=8000, Minimize=False, FullScreen=False, JpegRotate=False, WMPDMCHideMKV=False, TrustControler=False, SearchSubtitles=False, NoPartReqIntermediate=False, verbosity=0):
self.verbosity = verbosity
self.logger = log_event(verbosity)
self.ip = socket.gethostbyname(socket.getfqdn())
self.ip = socket.gethostbyname(socket.gethostname())
self.port = RendererPort
self.Minimize = Minimize
self.FullScreen = FullScreen
Expand Down

0 comments on commit 4f4399f

Please sign in to comment.