]> kaliko git repositories - python-musicpd.git/commit
adding idle and noidle commands
authorJ. Alexander Treuman <jat@spatialrift.net>
Mon, 1 Jun 2009 22:16:54 +0000 (18:16 -0400)
committerJ. Alexander Treuman <jat@spatialrift.net>
Mon, 1 Jun 2009 22:16:54 +0000 (18:16 -0400)
commit2e4bfd25dda52f96563e54d57197dde00e977c26
treefb8d76585710c6d8dd17aea9afb35fcb3dcf80ee
parentc465a35a2b587e14f3f86be3d983d5b074ed375d
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.
doc/commands.txt
mpd.py