Commit c1ae17c3 authored by mathieui's avatar mathieui

Add a timeout in the select() in mpd_client

parent bbe041fd
......@@ -31,7 +31,7 @@ class UpdateThread(threading.Thread):
if password:
select([self.c], [], [])
select([self.c], [], [], timeout=600)
status = self.c.status()
if status['state'] == 'play' and self.alive:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment