This commit is contained in:
j 2023-10-12 12:50:37 +01:00
parent a117cad720
commit 13adeddd1b

View file

@ -150,7 +150,7 @@ def main():
player = get_player(fullscreen=not args.window)
listen = '::' if ':' in args.peer else ''0.0.0.0''
listen = '::' if ':' in args.peer else '0.0.0.0'
server = ThreadingUDPServer((listen, args.port), Handler)
server.allow_reuse_address = True
server.player = Player(peer, player, args.playlist, args.prefix)