Skip to content

Commit e2df37b

Browse files
smibaEt0h
authored andcommitted
Instead of localhost, use 127.0.0.1
1 parent fe688f6 commit e2df37b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

syncplay/players/vlc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ def _createIntfFolder(vlcSyncplayInterfaceDir):
528528
vlcoutputthread.start()
529529
self.__playerController._vlcready.clear()
530530
self._factory = VLCClientFactory(self.__playerController, self.vlcHasResponded, self.timeVLCLaunched, self.__process)
531-
self.reactor.connectTCP('localhost', self.__playerController.vlcport, self._factory)
531+
self.reactor.connectTCP('127.0.0.1', self.__playerController.vlcport, self._factory)
532532

533533
def _shouldListenForSTDOUT(self):
534534
return not isWindows()

syncplay/resources/lua/intf/syncplay.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ local durationdelay = 500000 -- Pause for get_duration command etc for increased
9090
local loopsleepduration = 2500 -- Pause for every event loop (uses microseconds)
9191
local quitcheckfrequency = 20 -- Check whether VLC has closed every X loops
9292

93-
local host = "localhost"
93+
local host = "127.0.0.1"
9494
local port
9595

9696
local titlemultiplier = 604800 -- One week

0 commit comments

Comments
 (0)