Revert "Allow VLC_MIN_PORT to equal VLC_MAX_PORT"
This reverts commit 073cc2ce62d74882f0ec9102bcea8b96b3d0bec8.
This commit is contained in:
parent
073cc2ce62
commit
3aa56864f8
@ -18,7 +18,7 @@ class VlcPlayer(BasePlayer):
|
||||
SLAVE_ARGS = ['--extraintf=luaintf','--lua-intf=syncplay']
|
||||
|
||||
random.seed()
|
||||
vlcport = random.randrange(VLC_MIN_PORT, VLC_MAX_PORT) if (VLC_MIN_PORT < VLC_MAX_PORT) else VLC_MIN_PORT
|
||||
vlcport = random.randrange(VLC_MIN_PORT, VLC_MAX_PORT)
|
||||
SLAVE_ARGS.append('--lua-config=syncplay={{port=\"{}\"}}'.format(str(vlcport)))
|
||||
|
||||
def __init__(self, client, playerPath, filePath, args):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user