From: J. Alexander Treuman Date: Mon, 1 Jun 2009 22:16:54 +0000 (-0400) Subject: adding idle and noidle commands X-Git-Tag: v0.3.0~37 X-Git-Url: http://git.kaliko.me/?p=python-musicpd.git;a=commitdiff_plain;h=2e4bfd25dda52f96563e54d57197dde00e977c26;hp=2e4bfd25dda52f96563e54d57197dde00e977c26 adding idle and noidle commands Note that these commands aren't very usable in their current form. idle() blocks while waiting for events, and will thus hang if none are received. Calling noidle() from another thread will cause idle() to return, but python-mpd isn't considered re-entrant, so sharing instances between threads isn't recommended. ---