diff --git a/syncplay/players/vlc.py b/syncplay/players/vlc.py index 639f8a96..3f801465 100755 --- a/syncplay/players/vlc.py +++ b/syncplay/players/vlc.py @@ -528,7 +528,7 @@ def _createIntfFolder(vlcSyncplayInterfaceDir): vlcoutputthread.start() self.__playerController._vlcready.clear() self._factory = VLCClientFactory(self.__playerController, self.vlcHasResponded, self.timeVLCLaunched, self.__process) - self.reactor.connectTCP('localhost', self.__playerController.vlcport, self._factory) + self.reactor.connectTCP('127.0.0.1', self.__playerController.vlcport, self._factory) def _shouldListenForSTDOUT(self): return not isWindows() diff --git a/syncplay/resources/lua/intf/syncplay.lua b/syncplay/resources/lua/intf/syncplay.lua index ca8e7b53..06f3ee00 100644 --- a/syncplay/resources/lua/intf/syncplay.lua +++ b/syncplay/resources/lua/intf/syncplay.lua @@ -90,7 +90,7 @@ local durationdelay = 500000 -- Pause for get_duration command etc for increased local loopsleepduration = 2500 -- Pause for every event loop (uses microseconds) local quitcheckfrequency = 20 -- Check whether VLC has closed every X loops -local host = "localhost" +local host = "127.0.0.1" local port local titlemultiplier = 604800 -- One week