Skip to content

Commit

Permalink
Changed: Use Kodi for IP address info.
Browse files Browse the repository at this point in the history
  • Loading branch information
basrieter committed Oct 21, 2023
1 parent fe022c0 commit 22fbfe7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions resources/lib/webdialogue.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,8 @@ def force_stop(self):
th.daemon = True
th.start()

import platform
pc_name = platform.node()
pb.update(2, LanguageHelper.get_localized_string(30119).format(pc_name, self.port))
ipaddress = xbmc.getInfoLabel("network.ipaddress")
pb.update(2, LanguageHelper.get_localized_string(30119).format(ipaddress, self.port))

Logger.info("RetroServer: Serving on %s", self.port)

Expand Down

0 comments on commit 22fbfe7

Please sign in to comment.