summaryrefslogtreecommitdiffstats
path: root/AirPlayService.py
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2011-03-25 14:59:38 +0100
committerGravatar Martin Szulecki2011-03-25 14:59:38 +0100
commit9d99dda4ebc193de99baead7063acd2f293c2f9c (patch)
tree46260637fefc68eef43b73f94f7fb3989f1de2f6 /AirPlayService.py
parent8c5a15b92ba7a1728a297bd948d4de0a78b85da4 (diff)
downloadtotem-plugin-airplay-9d99dda4ebc193de99baead7063acd2f293c2f9c.tar.gz
totem-plugin-airplay-9d99dda4ebc193de99baead7063acd2f293c2f9c.tar.bz2
Only show AirPlayer Service runnign message if it really does
Diffstat (limited to 'AirPlayService.py')
-rw-r--r--AirPlayService.py4
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):
208 208
209class AirPlayService(asyncore.dispatcher): 209class AirPlayService(asyncore.dispatcher):
210 def __init__(self, name=None, host="0.0.0.0", port=22555): 210 def __init__(self, name=None, host="0.0.0.0", port=22555):
211 print "AirPlayService running"
212
213 # create socket server 211 # create socket server
214 asyncore.dispatcher.__init__(self) 212 asyncore.dispatcher.__init__(self)
215 self.create_socket(socket.AF_INET, socket.SOCK_STREAM) 213 self.create_socket(socket.AF_INET, socket.SOCK_STREAM)
@@ -231,6 +229,8 @@ class AirPlayService(asyncore.dispatcher):
231 self.thread.is_finished = False 229 self.thread.is_finished = False
232 self.thread.start() 230 self.thread.start()
233 231
232 print "AirPlayService running"
233
234 def handle_accept(self): 234 def handle_accept(self):
235 pair = self.accept() 235 pair = self.accept()
236 if pair is None: 236 if pair is None: