diff options
| author | 2011-03-25 14:59:38 +0100 | |
|---|---|---|
| committer | 2011-03-25 14:59:38 +0100 | |
| commit | 9d99dda4ebc193de99baead7063acd2f293c2f9c (patch) | |
| tree | 46260637fefc68eef43b73f94f7fb3989f1de2f6 /AirPlayService.py | |
| parent | 8c5a15b92ba7a1728a297bd948d4de0a78b85da4 (diff) | |
| download | totem-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.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: | 
