diff options
-rw-r--r-- | AirPlayService.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/AirPlayService.py b/AirPlayService.py index c2a0367..9e6ef3b 100644 --- a/AirPlayService.py +++ b/AirPlayService.py @@ -208,8 +208,6 @@ class AsyncoreThread(threading.Thread): class AirPlayService(asyncore.dispatcher): def __init__(self, name=None, host="0.0.0.0", port=22555): - print "AirPlayService running" - # create socket server asyncore.dispatcher.__init__(self) self.create_socket(socket.AF_INET, socket.SOCK_STREAM) @@ -231,6 +229,8 @@ class AirPlayService(asyncore.dispatcher): self.thread.is_finished = False self.thread.start() + print "AirPlayService running" + def handle_accept(self): pair = self.accept() if pair is None: |