From c5401ae7940c77b3f65eaccfee8493c61478b579 Mon Sep 17 00:00:00 2001 From: Roman Bazalevsky Date: Tue, 3 Nov 2015 20:04:22 +0300 Subject: [PATCH] =?utf8?q?=D0=9E=D0=B1=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=BA?= =?utf8?q?=D0=B0=20=D1=82=D0=B0=D0=B9=D0=BC=D0=B0=D1=83=D1=82=D0=B0=20?= =?utf8?q?=D0=BF=D1=80=D0=B8=20=D0=B7=D0=B0=D0=BA=D1=80=D1=8B=D1=82=D0=B8?= =?utf8?q?=D0=B8=20=D0=BF=D0=BE=D1=82=D0=BE=D0=BA=D0=B0.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- vlcclient/vlcclient.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vlcclient/vlcclient.py b/vlcclient/vlcclient.py index f1e5733..9492156 100644 --- a/vlcclient/vlcclient.py +++ b/vlcclient/vlcclient.py @@ -183,7 +183,10 @@ class VlcClient(object): if time.time()-lasttime>timeout: to_stop.add(stream) for stream in to_stop: - self.stopBroadcast(stream) + try: + self.stopBroadcast(stream) + except: + pass self._resultlock.release() def check_stream(self,stream_name): -- 2.34.1