allow reuse
This commit is contained in:
parent
10faed82e4
commit
e4dd22b0bd
1 changed files with 1 additions and 0 deletions
|
@ -146,6 +146,7 @@ def main():
|
||||||
player = get_player(fullscreen=not args.window)
|
player = get_player(fullscreen=not args.window)
|
||||||
|
|
||||||
server = ThreadingUDPServer(('0.0.0.0', args.port), Handler)
|
server = ThreadingUDPServer(('0.0.0.0', args.port), Handler)
|
||||||
|
server.allow_reuse_address = True
|
||||||
server.player = Player(peer, player, args.playlist, args.prefix)
|
server.player = Player(peer, player, args.playlist, args.prefix)
|
||||||
player.register_key_binding('q', server.q_binding)
|
player.register_key_binding('q', server.q_binding)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue